83 const float close = 0.02f;
84 for (
int k = 0; k < nch; k++) {
86 if (chs.at(k).chpos.r0.norm() < close) {
87 qCritical(
"Some EEG channels do not have locations assigned.");
99 constexpr float TOO_CLOSE = 1e-4f;
101 &&
chpos.r0.norm() >= TOO_CLOSE
Symbolic FIFF tag, block, value, unit and channel-type constants shared across FIFFLIB.
#define FIFFV_COORD_UNKNOWN
FIFF channel descriptor record (FIFF_CH_INFO): per-channel logical/scanner numbers,...
FIFF file I/O, in-memory data structures and high-level readers/writers.
static bool checkEegLocations(const QList< FiffChInfo > &chs, int nch)
Eigen::Matrix< float, 3, 2, Eigen::DontAlign > eeg_loc
Eigen::Matrix< float, 4, 4, Eigen::DontAlign > coil_trans