nirspipe.pipeline.chromophores#
The chromophores an analysis writes, and HbT, made from the HbO-HbR pair where an analysis reads it.
Module Contents#
Functions#
The chosen chromophores once each, in the order hbo, hbr, hbt. |
|
The chromophore a channel’s name ends with: “S1_D1 hbt” -> “hbt”. |
|
The HbT channel of every pair both of whose halves are listed: “S1_D1 hbo”, “S1_D1 hbr” -> “S1_D1 hbt”. |
|
HbO + HbR of each pair as one channel “<pair> hbt”, typed hbo as MNE has no HbT type, bad where either half is. |
|
A copy of |
|
A copy of |
Data#
API#
- nirspipe.pipeline.chromophores.CHROMOPHORES = ('hbo', 'hbr', 'hbt')#
- nirspipe.pipeline.chromophores.DEFAULT_CHROMOPHORES = ('hbo', 'hbr')#
- nirspipe.pipeline.chromophores.in_order(chosen: Iterable[str]) tuple[str, ...]#
The chosen chromophores once each, in the order hbo, hbr, hbt.
- nirspipe.pipeline.chromophores.chroma_of(ch_name: str) str#
The chromophore a channel’s name ends with: “S1_D1 hbt” -> “hbt”.
- nirspipe.pipeline.chromophores.hbt_names(names: Iterable[str]) list[str]#
The HbT channel of every pair both of whose halves are listed: “S1_D1 hbo”, “S1_D1 hbr” -> “S1_D1 hbt”.
- nirspipe.pipeline.chromophores.hbt_of(raw: mne.io.BaseRaw) mne.io.BaseRaw#
HbO + HbR of each pair as one channel “<pair> hbt”, typed hbo as MNE has no HbT type, bad where either half is.
- nirspipe.pipeline.chromophores.chroma_channels(raw: mne.io.BaseRaw, chroma: str) mne.io.BaseRaw#
A copy of
rawholding one chromophore’s channels, HbT made from the pair.
- nirspipe.pipeline.chromophores.with_hbt(raw: mne.io.BaseRaw, chromophores: Iterable[str]) mne.io.BaseRaw#
A copy of
rawwithhbt_of()added whenchromophoresholds hbt, elserawitself; never written to a file.