57 #include <QtCore/QCoreApplication>
83 int main(
int argc,
char *argv[])
85 QCoreApplication a(argc, argv);
88 QFile t_sampleFile(
"./MNE-sample-data/MEG/sample/sample_audvis-ave.fif");
89 FiffEvoked p_FiffEvoked(t_sampleFile,QVariant(
"2"));
92 bool use_ctf_head = 1;
96 if(p_FiffEvoked.info.ctf_head_t.isEmpty())
97 std::cout <<
"\nNo CTF head transformation available" << std::endl;
99 meg_trans = p_FiffEvoked.info.dev_ctf_t;
101 eeg_trans.invert_transform();
102 std::cout <<
"Employing the CTF/4D head coordinate system\n" << std::endl;
106 meg_trans = p_FiffEvoked.info.dev_head_t;
108 std::cout <<
"Employing the Neuromag head coordinate system\n" << std::endl;
Coordinate transformation description.
FIFF class declaration, which provides static wrapper functions to stay consistent with mne matlab to...