meeg_utils.qc.BidsMetadata#
- class meeg_utils.qc.BidsMetadata[source]#
Whether the BIDS sidecar describes the recording correctly.
Compares the BIDS
*_meg.json/*_eeg.jsonsidecar with the data file (sampling rate, duration) and withchannels.tsv(channel counts per type), checks thatchannels.tsvlists the file’s channels, and that the line frequency is given. A wrong sidecar silently breaks analyses that rely on it (e.g. the line frequency used to remove line noise). Only applies to recordings in a BIDS dataset.- metrics_#
mismatches(field ->{"sidecar": ..., "data": ...}) andmissing(recommended fields absent from the sidecar).- Type:
- __init__()#
Methods
__init__()compute(raw)Measure the recording.
get_metadata_routing()Get metadata routing of this object.
get_params([deep])Get parameters for this estimator.
not_applicable(raw)Return why the check cannot run on
raw, orNoneif it can.plot([kind, inst])Draw quality-control figures.
set_params(**params)Set the parameters of this estimator.
Attributes
levelThe worst verdict of the findings (
"ok"if there are none).modalitiesData types the check needs at least one of ("meg", "eeg").
Key of the check in reports.
plot_kindskind -> whether it needs data (
inst).systemsAcquisition systems the check applies to;
Nonemeans all.