Holds a set of Electric Current Dipoles. More...
#include <inv_ecd_set.h>
Public Types | |
| typedef QSharedPointer< InvEcdSet > | SPtr |
| typedef QSharedPointer< const InvEcdSet > | ConstSPtr |
Public Member Functions | |
| InvEcdSet () | |
| InvEcdSet (const InvEcdSet &p_ECDSet) | |
| ~InvEcdSet () | |
| void | addEcd (const InvEcd &p_ecd) |
| bool | save_dipoles_bdip (const QString &fileName) |
| bool | save_dipoles_dip (const QString &fileName) const |
| qint32 | size () const |
| const InvEcd & | operator[] (int idx) const |
| InvEcd & | operator[] (int idx) |
| InvEcdSet & | operator<< (const InvEcd &p_ecd) |
Static Public Member Functions | |
| static InvEcdSet | read_dipoles_dip (const QString &fileName) |
Public Attributes | |
| QString | dataname |
Holds a set of Electric Current Dipoles.
Implements Electric Current Dipole Set (Replaces *ecdSet,ecdSetRec struct of MNE-C fit_types.h).
Definition at line 80 of file inv_ecd_set.h.
| typedef QSharedPointer<const InvEcdSet> INVLIB::InvEcdSet::ConstSPtr |
Const shared pointer type for InvEcdSet.
Definition at line 85 of file inv_ecd_set.h.
| typedef QSharedPointer<InvEcdSet> INVLIB::InvEcdSet::SPtr |
Shared pointer type for InvEcdSet.
Definition at line 84 of file inv_ecd_set.h.
| InvEcdSet::InvEcdSet | ( | ) |
Constructs a Electric Current Dipole Set object.
Definition at line 142 of file inv_ecd_set.cpp.
| InvEcdSet::InvEcdSet | ( | const InvEcdSet & | p_ECDSet | ) |
Copy constructor.
| [in] | p_ECDSet | Electric Current Dipole Set which should be copied. |
Definition at line 148 of file inv_ecd_set.cpp.
| InvEcdSet::~InvEcdSet | ( | ) |
Destroys the Electric Current Dipole description
Definition at line 156 of file inv_ecd_set.cpp.
| void InvEcdSet::addEcd | ( | const InvEcd & | p_ecd | ) |
Appends an Electric Current Dipole to the set
Definition at line 162 of file inv_ecd_set.cpp.
Subscript operator << to add a new InvEcd
| [in] | p_ecd | InvEcd to be added. |
Definition at line 339 of file inv_ecd_set.cpp.
| InvEcd & InvEcdSet::operator[] | ( | int | idx | ) |
Subscript operator [] to access InvEcd by index
| [in] | idx | the InvEcd index. |
Definition at line 327 of file inv_ecd_set.cpp.
| const InvEcd & InvEcdSet::operator[] | ( | int | idx | ) | const |
Subscript operator [] to access InvEcd by index
| [in] | idx | the InvEcd index. |
Definition at line 315 of file inv_ecd_set.cpp.
|
static |
Read dipoles from the dip format compatible with mrilab
| [in] | name | File name to read from. |
Definition at line 169 of file inv_ecd_set.cpp.
| bool InvEcdSet::save_dipoles_bdip | ( | const QString & | fileName | ) |
Save dipoles in the bdip format employed by xfit
| [in] | fileName | File name to save to. |
Definition at line 212 of file inv_ecd_set.cpp.
| bool InvEcdSet::save_dipoles_dip | ( | const QString & | fileName | ) | const |
Save dipoles in the dip format suitable for mrilab
| [in] | fileName | File name to save to. |
Definition at line 270 of file inv_ecd_set.cpp.
|
inline |
Returns the number of stored ECDs
Definition at line 186 of file inv_ecd_set.h.
| QString INVLIB::InvEcdSet::dataname |
The associated data file.
Definition at line 176 of file inv_ecd_set.h.