FwdEegSphereModelSet
Namespace: FWDLIB · Library: Forward Library
#include <fwd/fwd_eeg_sphere_model_set.h>
class FWDLIB::FwdEegSphereModelSet
Definitions for the EEG Sphere Model Set (replaces fwdEegSphereModelSet / fwdEegSphereModelSetRec from MNE-C fwd_types.h).
Name-indexed collection of FwdEegSphereModel objects parsed from an mne_setup_eeg_sphere_model parameter file so callers can resolve textual model names ("Default", "Stok", …) into ready-to-use analytic head models.
Public Methods
FwdEegSphereModelSet()
Constructs a Forward EEG Sphere Model Set object.
~FwdEegSphereModelSet()
Destroys the Forward EEG Sphere Model Set description.
FwdEegSphereModelSet()
operator=()
FwdEegSphereModelSet()
operator=()
fwd_select_eeg_sphere_model(p_sName)
Find a model with a given name and return a duplicate Refactored from: fwd_eeg_sphere_models.c.
Parameters:
- p_sName : const QString & Name of the model to find.
Returns:
- *FwdEegSphereModel ** — A duplicat of the found model.
fwd_list_eeg_sphere_models()
List the properties of available models via qInfo.
nmodel()
Number of models in this set.
Static Methods
fwd_add_to_eeg_sphere_model_set(s, m)
Add a model to a set.
The model will be owned by the set.
Parameters:
-
s : *FwdEegSphereModelSet ** The model set (created if nullptr).
-
m : FwdEegSphereModel::UPtr The model to add (ownership transferred).
Returns:
- *FwdEegSphereModelSet ** — The model set.
fwd_add_default_eeg_sphere_model(s)
Choose and setup the default EEG sphere model Refactored from: fwd_eeg_sphere_models.c.
Parameters:
- s : *FwdEegSphereModelSet ** The model set to which loaded models are added.
Returns:
- *FwdEegSphereModelSet ** — The model set with the default model (s + default models).
fwd_load_eeg_sphere_models(p_sFileName, now)
Load all models available in the specified file Refactored from: fwd_eeg_sphere_models.c.
Parameters:
-
p_sFileName : const QString & file name to load models from.
-
now : *FwdEegSphereModelSet ** The model set to which loaded models are added.
Returns:
- *FwdEegSphereModelSet ** — The loaded model set (now + loaded models).
Authors of this file
- Christoph Dinh <christoph.dinh@mne-cpp.org>
- Lorenz Esch <lorenz.esch@tu-ilmenau.de>
- Juan GPC <jgarciaprieto@mgh.harvard.edu>
- Gabriel Motta <gabrielbenmotta@gmail.com>