neurocaps.typing.CustomRegionHemispheres#

class 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, 2],
    "rh": [3, 4, 5, 6, 7]
}
Parameters:
  • lh (list[int] | range) – A 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) – A 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.