meeg_utils.qc.ChpiSNR#
- class meeg_utils.qc.ChpiSNR(*, max_drop_db=None)[source]#
Signal-to-noise ratio of the continuous head-position (cHPI) coils.
mne.chpi.compute_chpi_snr()estimates, over time, the power of each coil’s frequency relative to the residual. A coil much weaker than the others is loose, badly placed or broken, and head positions computed from it are unreliable.- Parameters:
max_drop_db (float | None) – A coil whose median SNR is this much below the median over coils is flagged. There is no published limit (coils differ with their distance to the sensors, so some spread is normal);
None(default) reports each coil’s drop without a verdict. 10 dB (a tenth of the power) is a reasonable starting point.
- metrics_#
Per channel type (
mag/grad): median SNR per coil (dB) and the coil frequencies.- Type:
Notes
Figures:
"snr"(mne.viz.plot_chpi_snr()).Methods
__init__(*[, max_drop_db])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).Data types the check needs at least one of ("meg", "eeg").
Key of the check in reports.
kind -> whether it needs data (
inst).Acquisition systems the check applies to;
Nonemeans all.- modalities: ClassVar[frozenset[str]] = frozenset({'meg'})#
Data types the check needs at least one of (“meg”, “eeg”).
- systems: ClassVar[frozenset[str] | None] = frozenset({'neuromag'})#
Acquisition systems the check applies to;
Nonemeans all.