MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
FIFFLIB::FiffChInfo Class Reference

Channel info descriptor. More...

#include <fiff_ch_info.h>

Public Types

typedef QSharedPointer< FiffChInfoSPtr
 
typedef QSharedPointer< const FiffChInfoConstSPtr
 

Public Member Functions

 FiffChInfo ()
 
 FiffChInfo (const FiffChInfo &p_FiffChInfo)
 
 ~FiffChInfo ()
 

Static Public Member Functions

static qint32 storageSize ()
 

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)
 

Detailed Description

Channel info descriptor.

Channel Info descriptor replaces _fiffChInfoRec struct.

Definition at line 74 of file fiff_ch_info.h.

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const FiffChInfo> FIFFLIB::FiffChInfo::ConstSPtr

Const shared pointer type for FiffChInfo.

Definition at line 78 of file fiff_ch_info.h.

◆ SPtr

typedef QSharedPointer<FiffChInfo> FIFFLIB::FiffChInfo::SPtr

Shared pointer type for FiffChInfo.

Definition at line 77 of file fiff_ch_info.h.

Constructor & Destructor Documentation

◆ FiffChInfo() [1/2]

FiffChInfo::FiffChInfo ( )

Constructs the channel info descriptor.

Definition at line 53 of file fiff_ch_info.cpp.

◆ FiffChInfo() [2/2]

FiffChInfo::FiffChInfo ( const FiffChInfo p_FiffChInfo)

Copy constructor.

Parameters
[in]p_FiffChInfoChannel Info descriptor which should be copied.

Definition at line 71 of file fiff_ch_info.cpp.

◆ ~FiffChInfo()

FiffChInfo::~FiffChInfo ( )

Destroys the channel info descriptor.

Definition at line 89 of file fiff_ch_info.cpp.

Member Function Documentation

◆ storageSize()

qint32 FIFFLIB::FiffChInfo::storageSize ( )
inlinestatic

Size of the old struct (fiffChInfoRec) 20*int + 16 = 20*4 + 16 = 96

Returns
the size of the old struct fiffChInfoRec.

Definition at line 155 of file fiff_ch_info.h.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const FiffChInfo a,
const FiffChInfo b 
)
friend

Overloaded == operator to compare an object to this instance.

Parameters
[in]objectThe object which should be compared to.
Returns
true if equal, false otherwise.

Definition at line 162 of file fiff_ch_info.h.

Member Data Documentation

◆ cal

fiff_float_t FIFFLIB::FiffChInfo::cal

Calibration from volts to units used 1

Definition at line 123 of file fiff_ch_info.h.

◆ ch_name

QString FIFFLIB::FiffChInfo::ch_name

Descriptive name for the channel 16

Definition at line 127 of file fiff_ch_info.h.

◆ chpos

FiffChPos FIFFLIB::FiffChInfo::chpos

Channel location.

Definition at line 124 of file fiff_ch_info.h.

◆ coil_trans

Eigen::Matrix<float,4,4, Eigen::DontAlign> FIFFLIB::FiffChInfo::coil_trans

Coil coordinate system transformation.

Definition at line 130 of file fiff_ch_info.h.

◆ coord_frame

fiff_int_t FIFFLIB::FiffChInfo::coord_frame

Coordinate Frame.

Definition at line 132 of file fiff_ch_info.h.

◆ eeg_loc

Eigen::Matrix<float,3,2, Eigen::DontAlign> FIFFLIB::FiffChInfo::eeg_loc

Channel location.

Definition at line 131 of file fiff_ch_info.h.

◆ kind

fiff_int_t FIFFLIB::FiffChInfo::kind

Kind of channel 1

Definition at line 121 of file fiff_ch_info.h.

◆ logNo

fiff_int_t FIFFLIB::FiffChInfo::logNo

Logical channel # 1

Definition at line 120 of file fiff_ch_info.h.

◆ range

fiff_float_t FIFFLIB::FiffChInfo::range

Voltmeter range (-1 = auto ranging) 1

Definition at line 122 of file fiff_ch_info.h.

◆ scanNo

fiff_int_t FIFFLIB::FiffChInfo::scanNo

Scanning order number 1

Definition at line 119 of file fiff_ch_info.h.

◆ unit

fiff_int_t FIFFLIB::FiffChInfo::unit

Unit of measurement 1

Definition at line 125 of file fiff_ch_info.h.

◆ unit_mul

fiff_int_t FIFFLIB::FiffChInfo::unit_mul

Unit multiplier exponent 1

Definition at line 126 of file fiff_ch_info.h.


The documentation for this class was generated from the following files: