99 const float close = 0.02f;
100 for (
int k = 0; k < nch; k++) {
102 if (chs.at(k).chpos.r0.norm() < close) {
103 qCritical(
"Some EEG channels do not have locations assigned.");
115 constexpr float TOO_CLOSE = 1e-4f;
117 &&
chpos.r0.norm() >= TOO_CLOSE
#define FIFFV_COORD_UNKNOWN
FiffChInfo class declaration.
FIFF file I/O and data structures (raw, epochs, evoked, covariance, forward).
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