Collection of FwdCoil objects representing a full MEG or EEG sensor array. More...
#include <fwd_coil_set.h>
Public Types | |
| typedef QSharedPointer< FwdCoilSet > | SPtr |
| typedef QSharedPointer< const FwdCoilSet > | ConstSPtr |
| typedef std::unique_ptr< FwdCoilSet > | UPtr |
Public Member Functions | |
| FwdCoilSet () | |
| ~FwdCoilSet () | |
| FwdCoil::UPtr | create_meg_coil (const FIFFLIB::FiffChInfo &ch, int acc, const FIFFLIB::FiffCoordTrans &t=FIFFLIB::FiffCoordTrans()) |
| FwdCoilSet::UPtr | create_meg_coils (const QList< FIFFLIB::FiffChInfo > &chs, int nch, int acc, const FIFFLIB::FiffCoordTrans &t=FIFFLIB::FiffCoordTrans()) |
| FwdCoilSet::UPtr | dup_coil_set (const FIFFLIB::FiffCoordTrans &t=FIFFLIB::FiffCoordTrans()) const |
| bool | is_planar_coil_type (int type) const |
| bool | is_axial_coil_type (int type) const |
| bool | is_magnetometer_coil_type (int type) const |
| bool | is_eeg_electrode_type (int type) const |
| int | ncoil () const |
Static Public Member Functions | |
| static FwdCoilSet::UPtr | create_eeg_els (const QList< FIFFLIB::FiffChInfo > &chs, int nch, const FIFFLIB::FiffCoordTrans &t=FIFFLIB::FiffCoordTrans()) |
| static FwdCoilSet::UPtr | read_coil_defs (const QString &name) |
Public Attributes | |
| std::vector< FwdCoil::UPtr > | coils |
| int | coord_frame |
| std::unique_ptr< FwdBemSolution > | user_data |
Collection of FwdCoil objects representing a full MEG or EEG sensor array.
Implements FwdCoilSet (Replaces *fwdCoilSet,fwdCoilSetRec; struct of MNE-C fwd_types.h).
Definition at line 76 of file fwd_coil_set.h.
| typedef QSharedPointer<const FwdCoilSet> FWDLIB::FwdCoilSet::ConstSPtr |
Const shared pointer type for FwdCoilSet.
Definition at line 80 of file fwd_coil_set.h.
| typedef QSharedPointer<FwdCoilSet> FWDLIB::FwdCoilSet::SPtr |
Shared pointer type for FwdCoilSet.
Definition at line 79 of file fwd_coil_set.h.
| typedef std::unique_ptr<FwdCoilSet> FWDLIB::FwdCoilSet::UPtr |
Unique pointer type for FwdCoilSet.
Definition at line 81 of file fwd_coil_set.h.
| FwdCoilSet::FwdCoilSet | ( | ) |
Constructs the Forward Coil Set description
Definition at line 136 of file fwd_coil_set.cpp.
| FwdCoilSet::~FwdCoilSet | ( | ) |
Destroys the Forward Coil Set description
Definition at line 143 of file fwd_coil_set.cpp.
|
static |
Create a EEG coil set definition using a channel information Change the coordinate frame if so desired
| [in] | ch | Channel information to use. |
| [in] | nch | Number of channels. |
| [in] | t | Transform the points using this. |
Definition at line 230 of file fwd_coil_set.cpp.
| FwdCoil::UPtr FwdCoilSet::create_meg_coil | ( | const FIFFLIB::FiffChInfo & | ch, |
| int | acc, | ||
| const FIFFLIB::FiffCoordTrans & | t = FIFFLIB::FiffCoordTrans() ) |
Create a MEG coil definition using a database of templates Change the coordinate frame if so desired
| [in] | ch | Channel information to use. |
| [in] | acc | Required accuracy. |
| [in] | t | Transform the points using this. |
Definition at line 149 of file fwd_coil_set.cpp.
| FwdCoilSet::UPtr FwdCoilSet::create_meg_coils | ( | const QList< FIFFLIB::FiffChInfo > & | chs, |
| int | nch, | ||
| int | acc, | ||
| const FIFFLIB::FiffCoordTrans & | t = FIFFLIB::FiffCoordTrans() ) |
Create a MEG coil set definition using a database of templates Change the coordinate frame if so desired
| [in] | ch | Channel information to use. |
| [in] | nch | Number of channels. |
| [in] | acc | Required accuracy. |
| [in] | t | Transform the points using this. |
Definition at line 210 of file fwd_coil_set.cpp.
| FwdCoilSet::UPtr FwdCoilSet::dup_coil_set | ( | const FIFFLIB::FiffCoordTrans & | t = FIFFLIB::FiffCoordTrans() | ) | const |
Make a coil set duplicate
| [in] | t | Transformation which should be applied to the duplicate. |
Definition at line 334 of file fwd_coil_set.cpp.
| bool FwdCoilSet::is_axial_coil_type | ( | int | type | ) | const |
Checks if a set of templates contains an axial coil of a specified type.
| [in] | type | This is the coil type we are interested in. |
Definition at line 388 of file fwd_coil_set.cpp.
| bool FwdCoilSet::is_eeg_electrode_type | ( | int | type | ) | const |
Checks if a set of templates contains an EEG electrode of a specified type.
| [in] | type | This is the coil type we are interested in. |
Definition at line 414 of file fwd_coil_set.cpp.
| bool FwdCoilSet::is_magnetometer_coil_type | ( | int | type | ) | const |
Checks if a set of templates contains a magnetometer of a specified type.
| [in] | type | This is the coil type we are interested in. |
Definition at line 402 of file fwd_coil_set.cpp.
| bool FwdCoilSet::is_planar_coil_type | ( | int | type | ) | const |
Checks if a set of templates contains a planar coil of a specified type.
| [in] | type | This is the coil type we are interested in. |
Definition at line 376 of file fwd_coil_set.cpp.
|
inline |
Number of coils (convenience accessor).
Definition at line 223 of file fwd_coil_set.h.
|
static |
Read a coil definitions from file
| [in] | name | File name to read from. |
Definition at line 249 of file fwd_coil_set.cpp.
| std::vector<FwdCoil::UPtr> FWDLIB::FwdCoilSet::coils |
The coil or electrode positions.
Definition at line 218 of file fwd_coil_set.h.
| int FWDLIB::FwdCoilSet::coord_frame |
Common coordinate frame.
Definition at line 219 of file fwd_coil_set.h.
| std::unique_ptr<FwdBemSolution> FWDLIB::FwdCoilSet::user_data |
Coil-specific BEM solution.
Definition at line 220 of file fwd_coil_set.h.