Pure I/O helpers that load MNE data files and return results. More...
#include <dataloader.h>
Classes | |
| struct | SensorLoadResult |
Public Member Functions | |
| DataLoader ()=delete | |
Static Public Member Functions | |
| static SensorLoadResult | loadSensors (const QString &fifPath, const QString &megHelmetOverridePath={}) |
| static std::shared_ptr< BrainSurface > | loadHelmetSurface (const QString &helmetFilePath, const QMatrix4x4 &devHeadTrans=QMatrix4x4(), bool applyTrans=false) |
| static INVERSELIB::ECDSet | loadDipoles (const QString &dipPath) |
| static MNELIB::MNESourceSpace | loadSourceSpace (const QString &fwdPath) |
| static bool | loadHeadToMriTransform (const QString &transPath, FIFFLIB::FiffCoordTrans &trans) |
| static FIFFLIB::FiffEvoked | loadEvoked (const QString &evokedPath, int aveIndex=0) |
| static QStringList | probeEvokedSets (const QString &evokedPath) |
Pure I/O helpers that load MNE data files and return results.
These static methods have zero coupling to the widget layer. BrainView calls them to obtain data and then wires the results into its own model / surface map / member state.
Definition at line 74 of file dataloader.h.
|
delete |
|
static |
Load dipole set from a .dip file.
| [in] | dipPath | Path to the dipole file. |
Definition at line 309 of file dataloader.cpp.
|
static |
Load an FiffEvoked from a FIF file.
| [in] | evokedPath | Path to the FIF file. |
| [in] | aveIndex | Set index to load. |
Definition at line 386 of file dataloader.cpp.
|
static |
Load a coordinate transformation from a FIF file and normalise it to Head → MRI orientation.
| [in] | transPath | Path to the FIF file. |
| [out] | trans | The resulting transform (Head → MRI). |
Definition at line 355 of file dataloader.cpp.
|
static |
Load a standalone MEG helmet surface from a BEM FIF file.
| [in] | helmetFilePath | Path to the helmet BEM FIF file. |
| [in] | devHeadTrans | Device-to-Head transformation matrix (identity if none). |
| [in] | applyTrans | Whether to apply the dev→head transform. |
Definition at line 253 of file dataloader.cpp.
|
static |
Load sensor channels, digitizer points and MEG helmet from a FIF file.
| [in] | fifPath | Path to the FIF file. |
| [in] | megHelmetOverridePath | Optional override for the helmet surface file. |
Definition at line 64 of file dataloader.cpp.
|
static |
Load source space from a forward-solution FIF file.
| [in] | fwdPath | Path to the FIF file with source space. |
Definition at line 320 of file dataloader.cpp.
|
static |
Probe a FIF file for the available evoked data sets.
| [in] | evokedPath | Path to the FIF file. |
Definition at line 403 of file dataloader.cpp.