neuromaps_mouse.datasets.get_annotation_dir

neuromaps_mouse.datasets.get_annotation_dir(data_dir=None)[source]

Get the annotations data directory path.

Retrieves the path to the directory where annotation files are stored. If no data directory is specified, uses the default neuromaps-mouse data directory.

Parameters:

data_dir (str or Path, optional) – Path to the base neuromaps-mouse data directory. If None, uses the default directory determined by get_data_dir(). Default is None.

Returns:

Path to the annotations subdirectory.

Return type:

pathlib.Path

See also

neuromaps_mouse.datasets.get_data_dir

Get the base neuromaps-mouse data directory.

Examples

>>> annot_dir = get_annotation_dir()
>>> print(annot_dir)
/home/user/neuromaps-mouse-data/annotations
>>> custom_annot_dir = get_annotation_dir(data_dir='/custom/data')
>>> print(custom_annot_dir)
/custom/data/annotations