v2.0.0
Loading...
Searching...
No Matches
fiff_ch_info.h File Reference

FIFF channel descriptor record (FIFF_CH_INFO): per-channel logical/scanner numbers, kind, calibration, coil type, unit, location and orientation. More...

#include "fiff_global.h"
#include "fiff_types.h"
#include "fiff_ch_pos.h"
#include <QSharedPointer>
#include <QString>
#include <Eigen/Core>
#include <memory>
Include dependency graph for fiff_ch_info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FIFFLIB::FiffChInfo
 Per-channel FIFF descriptor: identifiers, kind, calibration, coil type, channel-frame coil position and SI unit. More...

Namespaces

namespace  FIFFLIB
 FIFF file I/O, in-memory data structures and high-level readers/writers.

Functions

bool FIFFLIB::operator== (const FiffChInfo &a, const FiffChInfo &b)

Detailed Description

FIFF channel descriptor record (FIFF_CH_INFO): per-channel logical/scanner numbers, kind, calibration, coil type, unit, location and orientation.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2012-2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org; Christof Pieloth pielo.nosp@m.th@l.nosp@m.abp.h.nosp@m.twk-.nosp@m.leipz.nosp@m.ig.d.nosp@m.e; Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om
Since
0.1.0
Date
September 2012

A FIFF_CH_INFO tag stores everything needed to interpret one column of the raw / evoked data matrix: which physical channel produced it (scanno / logno), what kind of sensor it is (FIFFV_MEG_CH / FIFFV_EEG_CH / FIFFV_STIM_CH / ...), the calibration constants cal and range that map ADC counts to SI units, the coil-frame transform encoded in the FiffChPos sub-record, the coil type (FIFFV_COIL_VV_PLANAR_T1, FIFFV_COIL_VV_MAG_T1, FIFFV_COIL_CTF_GRAD, ...) and the SI unit + multiplier of the calibrated samples.

FiffChInfo wraps that record. Exact field-for-field parity with the ch_info dict consumed by mne.io.meas_info in MNE-Python is mandatory: forward models, source localizers and CTF compensators all key on these fields and silently produce wrong topographies if any field drifts.

Definition in file fiff_ch_info.h.