Represents a single CTF compensation data element. More...
#include <mne_ctf_comp_data.h>
Public Types | |
| typedef QSharedPointer< MNECTFCompData > | SPtr |
| typedef QSharedPointer< const MNECTFCompData > | ConstSPtr |
Public Member Functions | |
| MNECTFCompData () | |
| MNECTFCompData (const MNECTFCompData &comp) | |
| ~MNECTFCompData () | |
| int | calibrate (const QList< FIFFLIB::FiffChInfo > &chs, int nch, int do_it) |
Public Attributes | |
| int | kind |
| int | mne_kind |
| int | calibrated |
| std::unique_ptr< MNENamedMatrix > | data |
| std::unique_ptr< FIFFLIB::FiffSparseMatrix > | presel |
| std::unique_ptr< FIFFLIB::FiffSparseMatrix > | postsel |
| Eigen::VectorXf | presel_data |
| Eigen::VectorXf | comp_data |
| Eigen::VectorXf | postsel_data |
Represents a single CTF compensation data element.
Holds the compensation matrix together with optional sparse pre-/post-selectors and intermediate computation buffers used by MNECTFCompDataSet::apply() and apply_transpose().
Definition at line 81 of file mne_ctf_comp_data.h.
| typedef QSharedPointer<const MNECTFCompData> MNELIB::MNECTFCompData::ConstSPtr |
Const shared pointer type for MNECTFCompData.
Definition at line 85 of file mne_ctf_comp_data.h.
| typedef QSharedPointer<MNECTFCompData> MNELIB::MNECTFCompData::SPtr |
Shared pointer type for MNECTFCompData.
Definition at line 84 of file mne_ctf_comp_data.h.
| MNECTFCompData::MNECTFCompData | ( | ) |
Constructs an empty MNE CTF Compensation Data object.
Definition at line 86 of file mne_ctf_comp_data.cpp.
| MNECTFCompData::MNECTFCompData | ( | const MNECTFCompData & | comp | ) |
Copy constructor.
| [in] | comp | The compensation data to copy. |
Definition at line 95 of file mne_ctf_comp_data.cpp.
| MNECTFCompData::~MNECTFCompData | ( | ) |
Destructor.
Definition at line 111 of file mne_ctf_comp_data.cpp.
| int MNECTFCompData::calibrate | ( | const QList< FIFFLIB::FiffChInfo > & | chs, |
| int | nch, | ||
| int | do_it ) |
Apply or remove channel calibration to/from the compensation matrix by scaling each element by (row_cal / col_cal) or its inverse.
| [in] | chs | Channel information used for calibration factors. |
| [in] | nch | Number of channels. |
| [in] | do_it | If TRUE, apply calibration; if FALSE, remove it. |
Definition at line 117 of file mne_ctf_comp_data.cpp.
| int MNELIB::MNECTFCompData::calibrated |
Whether the coefficients are already calibrated.
Definition at line 124 of file mne_ctf_comp_data.h.
| Eigen::VectorXf MNELIB::MNECTFCompData::comp_data |
Intermediate buffer for compensation results.
Definition at line 129 of file mne_ctf_comp_data.h.
| std::unique_ptr<MNENamedMatrix> MNELIB::MNECTFCompData::data |
The compensation matrix.
Definition at line 125 of file mne_ctf_comp_data.h.
| int MNELIB::MNECTFCompData::kind |
The CTF compensation kind constant.
Definition at line 122 of file mne_ctf_comp_data.h.
| int MNELIB::MNECTFCompData::mne_kind |
MNE-internal compensation kind.
Definition at line 123 of file mne_ctf_comp_data.h.
| std::unique_ptr<FIFFLIB::FiffSparseMatrix> MNELIB::MNECTFCompData::postsel |
Sparse selector applied after compensation.
Definition at line 127 of file mne_ctf_comp_data.h.
| Eigen::VectorXf MNELIB::MNECTFCompData::postsel_data |
Intermediate buffer for post-selection results.
Definition at line 130 of file mne_ctf_comp_data.h.
| std::unique_ptr<FIFFLIB::FiffSparseMatrix> MNELIB::MNECTFCompData::presel |
Sparse selector applied before compensation.
Definition at line 126 of file mne_ctf_comp_data.h.
| Eigen::VectorXf MNELIB::MNECTFCompData::presel_data |
Intermediate buffer for pre-selection results.
Definition at line 128 of file mne_ctf_comp_data.h.