compute_n_dummy_scans

bidsaid.qc.compute_n_dummy_scans(confounds_file_or_df)[source]

Compute the number of dummy scans based on the number of “non_steady_state_outlier_XX” columns in an fMRIPrep confounds TSV file.

Parameters

confounds_file_or_dfstr, Path, or pandas.DataFrame

A confounds file or dataframe from fMRIPrep.

Returns

int

Number of non-steady state scans.