xcp_d.utils.qcmetrics.make_dcan_df
- xcp_d.utils.qcmetrics.make_dcan_df(filtered_motion, name, TR)[source]
Create an HDF5-format file containing a DCAN-format dataset.
- Parameters:
Notes
The metrics in the file are:
FD_threshold
: a number >= 0 that represents the FD threshold used to calculate the metrics in this list.frame_removal
: a binary vector/array the same length as the number of frames in the concatenated time series, indicates whether a frame is removed (1) or not (0)format_string
(legacy): a string that denotes how the frames were excluded. This uses a notation devised by Avi Snyder.total_frame_count
: a whole number that represents the total number of frames in the concatenated seriesremaining_frame_count
: a whole number that represents the number of remaining frames in the concatenated seriesremaining_seconds
: a whole number that represents the amount of time remaining after thresholdingremaining_frame_mean_FD
: a number >= 0 that represents the mean FD of the remaining frames