49 using namespace MNELIB;
50 using namespace Eigen;
51 using namespace UTILSLIB;
68 : epoch(p_MNEEpochData.epoch)
69 , event(p_MNEEpochData.event)
70 , tmin(p_MNEEpochData.tmin)
71 , tmax(p_MNEEpochData.tmax)
72 , bReject(p_MNEEpochData.bReject)
87 RowVectorXf times = RowVectorXf::LinSpaced(this->
epoch.cols(), this->tmin, this->tmax);
88 this->
epoch = MNEMath::rescale(this->
epoch, times, baseline, QString(
"mean"));
95 if (sel.cols() == 0) {
96 qWarning(
"MNEEpochData::pick_channels - Warning : No channels were provided.\n");
101 MatrixXd selBlock(1,1);
103 if(selBlock.rows() != sel.cols() || selBlock.cols() !=
epoch.cols()) {
104 selBlock.resize(sel.cols(),
epoch.cols());
107 for(qint32 l = 0; l < sel.cols(); ++l) {
108 if(sel(l) <=
epoch.rows()) {
109 selBlock.row(l) =
epoch.row(sel(0,l));
111 qWarning(
"FiffEvoked::pick_channels - Warning : Selected channel index out of bound.\n");