CustomRegionHemispheres#

class neurocaps.typing.CustomRegionHemispheres[source]#

Bases: TypedDict

Type Definition for Hemisphere Mapping in Custom Parcellation Regions.

A TypedDict representing the mapping of the index position of the “nodes” to the left and right hemispheres.

{"lh": [0, 1], "rh": [3, 4, 5]}
Parameters:
  • lh (list[int] | range) – List of integers or range representing the index positions of elements in the “nodes” list belonging to the left hemisphere of a specific region.

  • rh (list[int] | range) – List of integers or range representing the index positions of elements in the “nodes” list belonging to the right hemisphere of a specific region.

See also

CustomParcelApproach

The type definition for the Custom parcellation approach.