Channel info descriptor. More...
#include <fiff_ch_info.h>
Public Types | |
| using | SPtr = QSharedPointer<FiffChInfo> |
| using | ConstSPtr = QSharedPointer<const FiffChInfo> |
| using | UPtr = std::unique_ptr<FiffChInfo> |
| using | ConstUPtr = std::unique_ptr<const FiffChInfo> |
Public Member Functions | |
| FiffChInfo () | |
| FiffChInfo (const FiffChInfo &p_FiffChInfo) | |
| ~FiffChInfo () | |
| bool | isValidEeg () const |
Static Public Member Functions | |
| static qint32 | storageSize () |
| static bool | checkEegLocations (const QList< FiffChInfo > &chs, int nch) |
Public Attributes | |
| fiff_int_t | scanNo |
| fiff_int_t | logNo |
| fiff_int_t | kind |
| fiff_float_t | range |
| fiff_float_t | cal |
| FiffChPos | chpos |
| fiff_int_t | unit |
| fiff_int_t | unit_mul |
| QString | ch_name |
| Eigen::Matrix< float, 4, 4, Eigen::DontAlign > | coil_trans |
| Eigen::Matrix< float, 3, 2, Eigen::DontAlign > | eeg_loc |
| fiff_int_t | coord_frame |
Friends | |
| bool | operator== (const FiffChInfo &a, const FiffChInfo &b) |
| using FIFFLIB::FiffChInfo::ConstSPtr = QSharedPointer<const FiffChInfo> |
Const shared pointer type for FiffChInfo.
Definition at line 79 of file fiff_ch_info.h.
| using FIFFLIB::FiffChInfo::ConstUPtr = std::unique_ptr<const FiffChInfo> |
Const unique pointer type for FiffChInfo.
Definition at line 81 of file fiff_ch_info.h.
| using FIFFLIB::FiffChInfo::SPtr = QSharedPointer<FiffChInfo> |
Shared pointer type for FiffChInfo.
Definition at line 78 of file fiff_ch_info.h.
| using FIFFLIB::FiffChInfo::UPtr = std::unique_ptr<FiffChInfo> |
Unique pointer type for FiffChInfo.
Definition at line 80 of file fiff_ch_info.h.
| FiffChInfo::FiffChInfo | ( | ) |
Constructs the channel info descriptor.
Definition at line 54 of file fiff_ch_info.cpp.
| FiffChInfo::FiffChInfo | ( | const FiffChInfo & | p_FiffChInfo | ) |
Copy constructor.
| [in] | p_FiffChInfo | Channel Info descriptor which should be copied. |
Definition at line 73 of file fiff_ch_info.cpp.
| FiffChInfo::~FiffChInfo | ( | ) |
Destroys the channel info descriptor.
Definition at line 91 of file fiff_ch_info.cpp.
|
static |
Check that all EEG channels in the list have reasonable (non-origin) locations. Formerly mne_check_chinfo (MNE C).
| [in] | chs | The list of channel info structures to check. |
| [in] | nch | The number of channels to check. |
Definition at line 97 of file fiff_ch_info.cpp.
| bool FiffChInfo::isValidEeg | ( | ) | const |
Check whether this channel has a valid EEG electrode position.
A channel is a valid EEG channel if its kind is FIFFV_EEG_CH, its electrode position is not at the origin, and its coil type is not FIFFV_COIL_NONE.
Definition at line 113 of file fiff_ch_info.cpp.
|
inlinestatic |
Size of the old struct (fiffChInfoRec) 20*int + 16 = 20*4 + 16 = 96
Definition at line 165 of file fiff_ch_info.h.
|
friend |
Overloaded == operator to compare an object to this instance.
| [in] | object | The object which should be compared to. |
Definition at line 175 of file fiff_ch_info.h.
| fiff_float_t FIFFLIB::FiffChInfo::cal |
Calibration from volts to units used.
Definition at line 148 of file fiff_ch_info.h.
| QString FIFFLIB::FiffChInfo::ch_name |
Descriptive name for the channel.
Definition at line 152 of file fiff_ch_info.h.
| FiffChPos FIFFLIB::FiffChInfo::chpos |
Channel location.
Definition at line 149 of file fiff_ch_info.h.
| Eigen::Matrix<float,4,4, Eigen::DontAlign> FIFFLIB::FiffChInfo::coil_trans |
Coil coordinate system transformation.
Definition at line 155 of file fiff_ch_info.h.
| fiff_int_t FIFFLIB::FiffChInfo::coord_frame |
Coordinate Frame.
Definition at line 157 of file fiff_ch_info.h.
| Eigen::Matrix<float,3,2, Eigen::DontAlign> FIFFLIB::FiffChInfo::eeg_loc |
Channel location.
Definition at line 156 of file fiff_ch_info.h.
| fiff_int_t FIFFLIB::FiffChInfo::kind |
Kind of channel.
Definition at line 146 of file fiff_ch_info.h.
| fiff_int_t FIFFLIB::FiffChInfo::logNo |
Logical channel #.
Definition at line 145 of file fiff_ch_info.h.
| fiff_float_t FIFFLIB::FiffChInfo::range |
Voltmeter range (-1 = auto ranging).
Definition at line 147 of file fiff_ch_info.h.
| fiff_int_t FIFFLIB::FiffChInfo::scanNo |
Scanning order number.
Definition at line 144 of file fiff_ch_info.h.
| fiff_int_t FIFFLIB::FiffChInfo::unit |
Unit of measurement.
Definition at line 150 of file fiff_ch_info.h.
| fiff_int_t FIFFLIB::FiffChInfo::unit_mul |
Unit multiplier exponent.
Definition at line 151 of file fiff_ch_info.h.