meeg_utils.report.DerivativesSummary#
- class meeg_utils.report.DerivativesSummary(table, warnings_, *, min_files=5)[source]#
QC metrics of every derivative in a folder, with outlying files flagged.
Built by
summarize(). The metrics are the scalar values of each step’sqc_(e.g.bads.eeg.n_bads,ica.n_excluded,autoreject.fraction_dropped) read from the sidecars; a file is an outlier for a metric when its modified z-score exceeds 3.5 (asmeeg_utils.qc.inspect_dataset()).Methods
__init__(table, warnings_, *[, min_files])report(*[, title, max_metrics])Build an HTML report: outliers, warnings and the distribution of each metric.
to_csv(fname)Write
to_records()as CSV.One row per file: its metrics, warning count and outlying metrics.
- to_csv(fname)[source]#
Write
to_records()as CSV.- Parameters:
fname (str | Path) – Output file.
- Returns:
The file written.
- Return type:
Path