MNE-CPP
0.1.9
A Framework for Electrophysiology
|
FIFF measurement file information. More...
#include <fiff_info.h>
Public Types | |
typedef QSharedPointer< FiffInfo > | SPtr |
typedef QSharedPointer< const FiffInfo > | ConstSPtr |
Public Types inherited from FIFFLIB::FiffInfoBase | |
typedef QSharedPointer< FiffInfoBase > | SPtr |
typedef QSharedPointer< const FiffInfoBase > | ConstSPtr |
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=Q_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 |
QStringList | get_channel_types () |
Static Public Member Functions | |
static QList< FiffChInfo > | set_current_comp (QList< FiffChInfo > &listFiffChInfo, fiff_int_t value) |
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) |
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 84 of file fiff_info.h.
typedef QSharedPointer<const FiffInfo> FIFFLIB::FiffInfo::ConstSPtr |
Const shared pointer type for FiffInfo.
Definition at line 88 of file fiff_info.h.
typedef QSharedPointer<FiffInfo> FIFFLIB::FiffInfo::SPtr |
Shared pointer type for FiffInfo.
Definition at line 87 of file fiff_info.h.
FiffInfo::FiffInfo | ( | ) |
Constructors the fiff measurement file information.
Definition at line 61 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 76 of file fiff_info.cpp.
FiffInfo::~FiffInfo | ( | ) |
Destroys the fiff measurement file information.
Definition at line 104 of file fiff_info.cpp.
void FiffInfo::clear | ( | ) |
Initializes FIFF measurement information.
< UTC offset of related meas_date (sHH:MM).
Definition at line 110 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 137 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 159 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 278 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 285 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 310 of file fiff_info.cpp.
void FiffInfo::print | ( | ) | const |
Prints class contents.
Definition at line 484 of file fiff_info.cpp.
|
inline |
Set the current compensation value in the channel info structures
[in] | value | compensation value. |
Definition at line 292 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 334 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 357 of file fiff_info.cpp.
QString FIFFLIB::FiffInfo::acq_pars |
Acquisition information ToDo...
Definition at line 270 of file fiff_info.h.
QString FIFFLIB::FiffInfo::acq_stim |
Acquisition information ToDo...
Definition at line 271 of file fiff_info.h.
QList<FiffCtfComp> FIFFLIB::FiffInfo::comps |
List of available CTF software compensators.
Definition at line 269 of file fiff_info.h.
QString FIFFLIB::FiffInfo::description |
(Textual) Description of an object.
Definition at line 262 of file fiff_info.h.
FiffCoordTrans FIFFLIB::FiffInfo::dev_ctf_t |
Coordinate transformation ToDo...
Definition at line 265 of file fiff_info.h.
QList<FiffDigPoint> FIFFLIB::FiffInfo::dig |
List of all digitization point descriptors.
Definition at line 266 of file fiff_info.h.
FiffCoordTrans FIFFLIB::FiffInfo::dig_trans |
Coordinate transformation ToDo...
Definition at line 267 of file fiff_info.h.
QString FIFFLIB::FiffInfo::experimenter |
Experimenter name.
Definition at line 261 of file fiff_info.h.
FiffId FIFFLIB::FiffInfo::file_id |
File ID.
Definition at line 252 of file fiff_info.h.
fiff_int_t FIFFLIB::FiffInfo::gantry_angle |
Tilt angle of the dewar in degrees.
Definition at line 264 of file fiff_info.h.
float FIFFLIB::FiffInfo::highpass |
Highpass frequency.
Definition at line 256 of file fiff_info.h.
float FIFFLIB::FiffInfo::linefreq |
Power line frequency.
Definition at line 255 of file fiff_info.h.
float FIFFLIB::FiffInfo::lowpass |
Lowpass frequency.
Definition at line 257 of file fiff_info.h.
fiff_int_t FIFFLIB::FiffInfo::meas_date[2] |
Measurement date. TODO: use fiffTime instead to be MNE-C consistent
Definition at line 253 of file fiff_info.h.
int FIFFLIB::FiffInfo::proj_id |
Project ID.
Definition at line 258 of file fiff_info.h.
QString FIFFLIB::FiffInfo::proj_name |
Project name.
Definition at line 259 of file fiff_info.h.
QList<FiffProj> FIFFLIB::FiffInfo::projs |
List of available SSP projectors.
Definition at line 268 of file fiff_info.h.
float FIFFLIB::FiffInfo::sfreq |
Sample frequency.
Definition at line 254 of file fiff_info.h.
QString FIFFLIB::FiffInfo::utc_offset |
UTC offset of related meas_date (sHH:MM).
Definition at line 263 of file fiff_info.h.
QString FIFFLIB::FiffInfo::xplotter_layout |
xplotter layout tag.
Definition at line 260 of file fiff_info.h.