neuralib.atlas.util.iter_source_coordinates

neuralib.atlas.util.iter_source_coordinates(file, *, only_areas=None, region_col=None, hemisphere='both', to_brainrender=True, source_order=None)[source]

Load allen ccf roi output (merged different color channels).

Parameters:
  • file (Path) – parsed csv file after

  • only_areas (list[str] | str | None) – only show rois in region(s)

  • region_col (str | None) – if None, auto infer, and check the lowest merge level contain all the regions specified

  • hemisphere (Literal['ipsi', 'contra', 'both']) – which brain hemisphere

  • to_brainrender (bool) – convert the coordinates to brain render

  • source_order (tuple[str, ...] | None) – whether specify the source generator order

Returns:

Iterable of SourceCoordinates

Return type:

Iterable[SourceCoordinates]