62 valid = Eigen::VectorXi::Zero(nrow);
64 for (
int j = 0; j < nrow; ++j) {
67 if (chInfo.isEmpty() || nrow == 0) {
75 const Eigen::SparseMatrix<float, Eigen::RowMajor> rows =
deriv_data->data->eigen();
77 for (
int j = 0; j < nrow; ++j) {
80 for (Eigen::SparseMatrix<float, Eigen::RowMajor>::InnerIterator it(rows, j); it && ok; ++it) {
81 const int pick =
static_cast<int>(names.indexOf(
deriv_data->collist.value(
static_cast<int>(it.col()))));
85 first = &chInfo[pick];
One channel derivation: a sparse matrix whose rows define virtual channels as weighted sums of record...
Core MNE data structures (source spaces, source estimates, hemispheres).
FIFF file I/O, in-memory data structures and high-level readers/writers.
Per-channel FIFF descriptor: identifiers, kind, calibration, coil type, channel-frame coil position a...
std::unique_ptr< MNESparseNamedMatrix > deriv_data
QList< FIFFLIB::FiffChInfo > chs
int validate(const QList< FIFFLIB::FiffChInfo > &chInfo)