ccf_streamlines.projection.BoundaryFinder#
- class ccf_streamlines.projection.BoundaryFinder(projected_atlas_file, labels_file, single_hemisphere=True)#
Boundaries of cortical regions from 2D atlas projections
- Parameters
projected_atlas_file (str) – File path to a NRRD file containing the 2D projection of the atlas labeled consistently with the labels_file.
labels_file (str) – File path to a text file containing the region labels.
single_hemisphere (bool, default True) – Whether to collapse data into a single hemisphere visualization
- __init__(projected_atlas_file, labels_file, single_hemisphere=True)#
Methods
__init__
(projected_atlas_file, labels_file)region_boundaries
([region_acronyms, ...])Get projection coordinates of region boundaries.
region_masks
([region_acronyms, hemisphere, ...])