FIFF measurement file information. More...
#include <fiff_info.h>
Public Types | |
| using | SPtr = QSharedPointer<FiffInfo> |
| using | ConstSPtr = QSharedPointer<const FiffInfo> |
| using | UPtr = std::unique_ptr<FiffInfo> |
| using | ConstUPtr = std::unique_ptr<const FiffInfo> |
| Public Types inherited from FIFFLIB::FiffInfoBase | |
| using | SPtr = QSharedPointer<FiffInfoBase> |
| using | ConstSPtr = QSharedPointer<const FiffInfoBase> |
| using | UPtr = std::unique_ptr<FiffInfoBase> |
| using | ConstUPtr = std::unique_ptr<const FiffInfoBase> |
Public Member Functions | |
| FiffInfo () | |
| FiffInfo (const FiffInfo &p_FiffInfo) | |
| ~FiffInfo () | |
| void | clear () |
| bool | make_compensator (fiff_int_t from, fiff_int_t to, FiffCtfComp &ctf_comp, bool exclude_comp_chs=false) const |
| qint32 | get_current_comp () |
| qint32 | make_projector (Eigen::MatrixXd &proj) const |
| qint32 | make_projector (Eigen::MatrixXd &proj, const QStringList &p_chNames) const |
| FiffInfo | pick_info (const Eigen::RowVectorXi &sel=defaultVectorXi) const |
| void | set_current_comp (fiff_int_t value) |
| void | writeToStream (FiffStream *p_pStream) const |
| void | print () const |
| Public Member Functions inherited from FIFFLIB::FiffInfoBase | |
| FiffInfoBase () | |
| FiffInfoBase (const FiffInfoBase &p_FiffInfoBase) | |
| virtual | ~FiffInfoBase () |
| void | clear () |
| QString | channel_type (qint32 idx) const |
| bool | isEmpty () const |
| FiffInfoBase | pick_info (const Eigen::RowVectorXi *sel=nullptr) const |
| Eigen::RowVectorXi | pick_types (const QString meg, bool eeg=false, bool stim=false, const QStringList &include=defaultQStringList, const QStringList &exclude=defaultQStringList) const |
| Eigen::RowVectorXi | pick_types (bool meg, bool eeg=false, bool stim=false, const QStringList &include=defaultQStringList, const QStringList &exclude=defaultQStringList) const |
| void | mne_read_meg_comp_eeg_ch_info (QList< FiffChInfo > &megp, int &nmegp, QList< FiffChInfo > &meg_compp, int &nmeg_compp, QList< FiffChInfo > &eegp, int &neegp, FiffCoordTrans &meg_head_t, FiffId &idp) const |
| QStringList | get_channel_types () |
Static Public Member Functions | |
| static QList< FiffChInfo > | set_current_comp (QList< FiffChInfo > &listFiffChInfo, fiff_int_t value) |
| static bool | readMegEegChannels (const QString &name, bool do_meg, bool do_eeg, const QStringList &bads, QList< FiffChInfo > &chsp, int &nmegp, int &neegp) |
| Static Public Member Functions inherited from FIFFLIB::FiffInfoBase | |
| static Eigen::RowVectorXi | pick_channels (const QStringList &ch_names, const QStringList &include=defaultQStringList, const QStringList &exclude=defaultQStringList) |
| static bool | readBadChannelsFromFile (const QString &name, QStringList &listOut) |
Public Attributes | |
| FiffId | file_id |
| fiff_int_t | meas_date [2] |
| float | sfreq |
| float | linefreq |
| float | highpass |
| float | lowpass |
| int | proj_id |
| QString | proj_name |
| QString | xplotter_layout |
| QString | experimenter |
| QString | description |
| QString | utc_offset |
| fiff_int_t | gantry_angle |
| FiffCoordTrans | dev_ctf_t |
| QList< FiffDigPoint > | dig |
| FiffCoordTrans | dig_trans |
| QList< FiffProj > | projs |
| QList< FiffCtfComp > | comps |
| QString | acq_pars |
| QString | acq_stim |
| Public Attributes inherited from FIFFLIB::FiffInfoBase | |
| QString | filename |
| QStringList | bads |
| FiffId | meas_id |
| fiff_int_t | nchan |
| QList< FiffChInfo > | chs |
| QStringList | ch_names |
| FiffCoordTrans | dev_head_t |
| FiffCoordTrans | ctf_head_t |
FIFF measurement file information.
Provides fiff measurement file information
Definition at line 85 of file fiff_info.h.

| using FIFFLIB::FiffInfo::ConstSPtr = QSharedPointer<const FiffInfo> |
Const shared pointer type for FiffInfo.
Definition at line 89 of file fiff_info.h.
| using FIFFLIB::FiffInfo::ConstUPtr = std::unique_ptr<const FiffInfo> |
Const unique pointer type for FiffInfo.
Definition at line 91 of file fiff_info.h.
| using FIFFLIB::FiffInfo::SPtr = QSharedPointer<FiffInfo> |
Shared pointer type for FiffInfo.
Definition at line 88 of file fiff_info.h.
| using FIFFLIB::FiffInfo::UPtr = std::unique_ptr<FiffInfo> |
Unique pointer type for FiffInfo.
Definition at line 90 of file fiff_info.h.
| FiffInfo::FiffInfo | ( | ) |
Constructors the fiff measurement file information.
Definition at line 62 of file fiff_info.cpp.
| FiffInfo::FiffInfo | ( | const FiffInfo & | p_FiffInfo | ) |
Copy constructor.
| [in] | p_FiffInfo | FIFF measurement information which should be copied. |
Definition at line 77 of file fiff_info.cpp.
| FiffInfo::~FiffInfo | ( | ) |
Destroys the fiff measurement file information.
Definition at line 105 of file fiff_info.cpp.
| void FiffInfo::clear | ( | ) |
Initializes FIFF measurement information.
< UTC offset of related meas_date (sHH:MM).
Definition at line 111 of file fiff_info.cpp.
| qint32 FiffInfo::get_current_comp | ( | ) |
mne_get_current_comp
Get the current compensation in effect in the data
Definition at line 138 of file fiff_info.cpp.
| bool FiffInfo::make_compensator | ( | fiff_int_t | from, |
| fiff_int_t | to, | ||
| FiffCtfComp & | ctf_comp, | ||
| bool | exclude_comp_chs = false ) const |
mne_make_compensator
Create a compensation matrix to bring the data from one compensation state to another
| [in] | from | compensation in the input data. |
| [in] | to | desired compensation in the output. |
| [out] | ctf_comp | Compensation Matrix. |
| [in] | exclude_comp_chs | exclude compensation channels from the output (optional). |
Definition at line 160 of file fiff_info.cpp.
|
inline |
mne_make_projector_info
Make a SSP operator using the meas info
| [out] | proj | The projection operator to apply to the data. |
Definition at line 285 of file fiff_info.h.
|
inline |
mne_make_projector_info
Make a SSP operator using the meas info
| [out] | proj | The projection operator to apply to the data. |
| [in] | p_chNames | List of channels to include in the projection matrix. |
Definition at line 292 of file fiff_info.h.
| FiffInfo FiffInfo::pick_info | ( | const Eigen::RowVectorXi & | sel = defaultVectorXi | ) | const |
fiff_pick_info
Pick desired channels from measurement info
| [in] | sel | List of channels to select. |
Definition at line 311 of file fiff_info.cpp.
| void FiffInfo::print | ( | ) | const |
Prints class contents.
Definition at line 532 of file fiff_info.cpp.
|
static |
Read MEG and EEG channel information from a FIFF file, excluding bad channels.
Opens the file, reads measurement info, and splits channels into MEG and EEG lists (in that order), skipping channels in the bads list. EEG channels must pass FiffChInfo::isValidEeg().
| [in] | name | Path to the FIFF measurement file. |
| [in] | do_meg | If true, include MEG channels. |
| [in] | do_eeg | If true, include EEG channels. |
| [in] | bads | List of bad channel names to exclude. |
| [out] | chsp | Combined list of accepted channels (MEG first, then EEG). |
| [out] | nmegp | Number of MEG channels in chsp. |
| [out] | neegp | Number of EEG channels in chsp. |
Definition at line 358 of file fiff_info.cpp.
|
inline |
Set the current compensation value in the channel info structures
| [in] | value | compensation value. |
Definition at line 299 of file fiff_info.h.
|
static |
mne_set_current_comp
Consider taking the member function of set_current_comp(fiff_int_t value), when compensation should be applied to the channels of FiffInfo
Set the current compensation value in the channel info structures
| [in] | chs | fiff channel info list. |
| [in] | value | compensation value. |
Definition at line 335 of file fiff_info.cpp.
| void FiffInfo::writeToStream | ( | FiffStream * | p_pStream | ) | const |
Writes the fiff information to a FIF stream.
| [in] | p_pStream | The stream to write to. |
Definition at line 405 of file fiff_info.cpp.
| QString FIFFLIB::FiffInfo::acq_pars |
Acquisition parameters.
Definition at line 277 of file fiff_info.h.
| QString FIFFLIB::FiffInfo::acq_stim |
Acquisition stimulus information.
Definition at line 278 of file fiff_info.h.
| QList<FiffCtfComp> FIFFLIB::FiffInfo::comps |
List of available CTF software compensators.
Definition at line 276 of file fiff_info.h.
| QString FIFFLIB::FiffInfo::description |
(Textual) Description of an object.
Definition at line 269 of file fiff_info.h.
| FiffCoordTrans FIFFLIB::FiffInfo::dev_ctf_t |
Device to CTF coordinate transformation.
Definition at line 272 of file fiff_info.h.
| QList<FiffDigPoint> FIFFLIB::FiffInfo::dig |
List of all digitization point descriptors.
Definition at line 273 of file fiff_info.h.
| FiffCoordTrans FIFFLIB::FiffInfo::dig_trans |
Digitizer coordinate transformation.
Definition at line 274 of file fiff_info.h.
| QString FIFFLIB::FiffInfo::experimenter |
Experimenter name.
Definition at line 268 of file fiff_info.h.
| FiffId FIFFLIB::FiffInfo::file_id |
File ID.
Definition at line 259 of file fiff_info.h.
| fiff_int_t FIFFLIB::FiffInfo::gantry_angle |
Tilt angle of the dewar in degrees.
Definition at line 271 of file fiff_info.h.
| float FIFFLIB::FiffInfo::highpass |
Highpass frequency.
Definition at line 263 of file fiff_info.h.
| float FIFFLIB::FiffInfo::linefreq |
Power line frequency.
Definition at line 262 of file fiff_info.h.
| float FIFFLIB::FiffInfo::lowpass |
Lowpass frequency.
Definition at line 264 of file fiff_info.h.
| fiff_int_t FIFFLIB::FiffInfo::meas_date[2] |
Measurement date.
Definition at line 260 of file fiff_info.h.
| int FIFFLIB::FiffInfo::proj_id |
Project ID.
Definition at line 265 of file fiff_info.h.
| QString FIFFLIB::FiffInfo::proj_name |
Project name.
Definition at line 266 of file fiff_info.h.
| QList<FiffProj> FIFFLIB::FiffInfo::projs |
List of available SSP projectors.
Definition at line 275 of file fiff_info.h.
| float FIFFLIB::FiffInfo::sfreq |
Sample frequency.
Definition at line 261 of file fiff_info.h.
| QString FIFFLIB::FiffInfo::utc_offset |
UTC offset of related meas_date (sHH:MM).
Definition at line 270 of file fiff_info.h.
| QString FIFFLIB::FiffInfo::xplotter_layout |
xplotter layout tag.
Definition at line 267 of file fiff_info.h.