cedalion.datasets

Cedalion datasets and utility functions.

Functions

get_colin27_headmodel()

Retrieves the Colin27 headmodel, based on Holmes et al. [HHC+98].

get_colin27_parcel_file()

Retrieves the Colin27 headmodel, based on Holmes et al. [HHC+98].

get_colin27_segmentation([downsampled])

Retrieves the Colin27 segmentation dataset, based on Holmes et al. [HHC+98].

get_fingertapping()

Retrieves a finger tapping recording in BIDS format.

get_fingertappingDOT()

Retrieves a finger tapping DOT example dataset from the IBS Lab.

get_fingertapping_snirf_path()

get_icbm152_parcel_file()

Retrieves the Colin27 headmodel, based on Holmes et al. [HHC+98].

get_icbm152_segmentation()

get_imagereco_example_fluence()

get_multisubject_fingertapping_path()

get_multisubject_fingertapping_snirf_paths()

get_ninja_cap_probe()

Load the fullhead Ninja NIRS cap probe.

get_ninja_uhd_cap_probe()

Load the fullhead Ninja NIRS ultra HD cap probe.

get_nn22_resting_state()

get_photogrammetry_example_scan()

get_precomputed_fluence(dataset, head_model)

Precomputed forward model results for examples and documentation.

get_precomputed_sensitivity(dataset, head_model)

Precomputed sensitivities for examples and documentation.

get_snirf_test_data()

cedalion.datasets.get_ninja_cap_probe()[source]

Load the fullhead Ninja NIRS cap probe.

cedalion.datasets.get_ninja_uhd_cap_probe()[source]

Load the fullhead Ninja NIRS ultra HD cap probe.

cedalion.datasets.get_snirf_test_data()[source]
cedalion.datasets.get_colin27_segmentation(downsampled=False)[source]

Retrieves the Colin27 segmentation dataset, based on Holmes et al. [HHC+98].

cedalion.datasets.get_colin27_headmodel()[source]

Retrieves the Colin27 headmodel, based on Holmes et al. [HHC+98].

cedalion.datasets.get_colin27_parcel_file()[source]

Retrieves the Colin27 headmodel, based on Holmes et al. [HHC+98].

cedalion.datasets.get_icbm152_segmentation()[source]
cedalion.datasets.get_icbm152_parcel_file()[source]

Retrieves the Colin27 headmodel, based on Holmes et al. [HHC+98].

cedalion.datasets.get_fingertapping() Recording[source]

Retrieves a finger tapping recording in BIDS format.

Data is from Luke and McAlpine [LM21a]

cedalion.datasets.get_fingertappingDOT() Recording[source]

Retrieves a finger tapping DOT example dataset from the IBS Lab.

cedalion.datasets.get_fingertapping_snirf_path() Path[source]
cedalion.datasets.get_multisubject_fingertapping_snirf_paths()[source]
cedalion.datasets.get_multisubject_fingertapping_path() Path[source]
cedalion.datasets.get_photogrammetry_example_scan()[source]
cedalion.datasets.get_imagereco_example_fluence() tuple[DataArray, DataArray][source]
cedalion.datasets.get_precomputed_fluence(dataset: str, head_model: str) Path[source]

Precomputed forward model results for examples and documentation.

Parameters:
  • dataset – “fingertapping” or “fingertappingDOT”

  • head_model – “colin27” or “icbm152”

Returns:

A Path object pointing to the fluence file.

cedalion.datasets.get_precomputed_sensitivity(
dataset: str,
head_model: str,
) DataArray[source]

Precomputed sensitivities for examples and documentation.

Parameters:
  • dataset – “fingertapping”, “fingertappingDOT”, “nn22_resting”, “ninja_cap_56x144”, “ninja_uhd_cap_164x496”

  • head_model – “colin27” or “icbm152”

Returns:

The precomputed sensitivity (Adot) matrix

cedalion.datasets.get_nn22_resting_state() Recording[source]