nirspipe.qc.figures.subject.nuisance_figures#
Correlations among a run’s nuisance series and with its global signals, the fNIRS counterpart of fMRIPrep’s confounds panel.
Module Contents#
Functions#
The global signals and every nuisance series on |
|
Left the correlations among the series, right each one’s |
Data#
API#
- nirspipe.qc.figures.subject.nuisance_figures.NUISANCE_PREFIXES = ('short_ch_', 'aux_', 'drift_')#
- nirspipe.qc.figures.subject.nuisance_figures.MAX_SERIES = 20#
- nirspipe.qc.figures.subject.nuisance_figures.GLOBAL_NAMES = None#
- nirspipe.qc.figures.subject.nuisance_figures.nuisance_series(haemo: mne.io.BaseRaw, design: pandas.DataFrame | None = None, od: mne.io.BaseRaw | None = None, imu: dict | None = None, sep_bands=None) pandas.DataFrame#
The global signals and every nuisance series on
haemo’s frames, the ones left out dropped.haemois the series the confound regression was fitted on;designits design table, whosecensoredcolumn names the frames left out (without one, frames under aBAD_span are). The global signals are the mean of the kept long channels per chromophore. GVTD, band-passed to the motion band overod’s long channels, and the IMU traces are interpolated ontohaemo’s samples.
- nirspipe.qc.figures.subject.nuisance_figures.nuisance_correlation_figure(frame: pandas.DataFrame, max_series: int = MAX_SERIES) plotly.graph_objects.Figure | None#
Left the correlations among the series, right each one’s
|r|with each global signal, as fMRIPrep draws them.The series kept are those with the largest
|r|with either global signal, the global signals among them, up tomax_series. The heatmap keeps them inframe’s order, one family beside the next; the bars run strongest first. None without a global signal and one series.