Electric Field Measurement Relacs Plugins
0.9.8
|
#include <eodmodel.h>
Public Member Functions | |
EODModel (void) | |
virtual void | main (void) |
virtual void | process (const OutData &source, OutData &dest) |
Public Member Functions inherited from Model | |
Model (const string &name, const string &pluginset="", const string &author="unknown", const string &version="unknown", const string &date=__DATE__) | |
virtual | ~Model (void) |
virtual void | notify (void) |
virtual Options | metaData (void) |
double | signal (double t, int trace=0) const |
bool | interrupt (void) const |
bool | isRunning (void) const |
void | push (int trace, float val) |
void | next (void) |
int | traces (void) const |
string | traceName (int trace) const |
double | deltat (int trace) const |
double | time (int trace) const |
float | scale (int trace) const |
void | waitOnSignals (void) |
double | load (void) const |
virtual void | addActions (QMenu *menu, bool doxydoc) |
virtual void | setName (const string &name) |
Public Member Functions inherited from ConfigDialog | |
ConfigDialog (const string &configident="", int configgroup=0, const string &name="", const string &author="", const string &version="", const string &date=__DATE__) | |
virtual | ~ConfigDialog (void) |
string | name (void) const |
string | author (void) const |
virtual void | setAuthor (const string &author) |
string | version (void) const |
virtual void | setVersion (const string &version) |
string | date (void) const |
virtual void | setDate (const string &date) |
virtual OptWidget * | dialogOptions (OptDialog *od, string *tabhotkeys=0) |
virtual void | dialogButtons (OptDialog *od) |
virtual void | dialogEmptyMessage (OptDialog *od) |
int | dialogSelectMask (void) const |
void | setDialogSelectMask (int mask) |
void | addDialogSelectMask (int mask) |
int | dialogReadOnlyMask (void) const |
void | setDialogReadOnlyMask (int mask) |
void | addDialogReadOnlyMask (int mask) |
int | dialogStyle (void) const |
void | setDialogStyle (int style) |
void | addDialogStyle (int style) |
string | dialogCaption (void) const |
void | setDialogCaption (const string &caption) |
bool | dialogHeader (void) const |
void | setDialogHeader (bool d) |
string | headerBackgroundColor (void) const |
void | setHeaderBackgroundColor (const string &color) |
string | headerForegroundColor (void) const |
void | setHeaderForegroundColor (const string &color) |
string | headerImageFile (void) const |
void | setHeaderImageFile (const string &file) |
virtual void | dialogHeaderWidget (OptDialog *od) |
bool | dialogHelp (void) const |
void | setDialogHelp (bool d) |
string | helpCaption (void) const |
void | setHelpCaption (const string &caption) |
string | helpPath (int inx=0) const |
int | helpPathes (void) const |
void | clearHelpPathes (void) |
void | setHelpPath (const string &path) |
void | addHelpPath (const string &path) |
virtual string | helpFileName (void) const |
bool | dialogOpen (void) const |
bool | helpOpen (void) const |
QWidget * | mainWidget (void) |
virtual void | setMainWidget (QWidget *widget) |
void | lock () const |
void | unlock () const |
bool | tryLock (int timeout=1) |
QMutex * | mutex (void) |
Public Member Functions inherited from ConfigClass | |
ConfigClass (const string &ident, int group=0, int mode=0xffff, int selectmask=0) | |
ConfigClass (const ConfigClass &C) | |
virtual | ~ConfigClass (void) |
const string & | configIdent (void) const |
void | setConfigIdent (const string &ident) |
int | configGroup (void) const |
void | setConfigGroup (int group) |
int | configMode (void) const |
void | setConfigMode (int mode) |
void | addConfigMode (int mode) |
void | delConfigMode (int mode) |
int | configSelectMask (void) const |
void | setConfigSelectMask (int mask) |
void | addConfig (void) |
void | readConfig (void) |
virtual void | readConfig (StrQueue &sq) |
virtual void | saveConfig (ofstream &str) |
virtual int | configSize (void) const |
virtual void | config (void) |
virtual void | preConfig (void) |
Public Member Functions inherited from Traces | |
Traces (void) | |
Public Member Functions inherited from StandardTraces | |
StandardTraces (void) | |
Additional Inherited Members | |
Public Types inherited from ConfigClass | |
enum | Action |
Public Slots inherited from ConfigDialog | |
virtual void | dialog (void) |
virtual void | help (void) |
virtual void | notifyDialog (const Options &opt) |
Signals inherited from ConfigDialog | |
void | dialogAccepted (void) |
void | dialogAction (int r) |
void | dialogClosed (int r) |
Static Public Member Functions inherited from ConfigClass | |
static void | setConfigureClasses (ConfigureClasses *cfg) |
Static Public Member Functions inherited from Traces | |
static void | initialize (const RELACSPlugin *rp, const InList &data, const EventList &events) |
Protected Slots inherited from ConfigDialog | |
void | notificationFromDialog (const Parameter &p) |
virtual void | dClosed (int r) |
virtual void | hClosed (int r) |
Protected Member Functions inherited from ConfigDialog | |
void | setDialogOpen (bool open=true) |
void | setHelpOpen (bool open=true) |
Static Protected Member Functions inherited from StandardTraces | |
static void | clearIndices (int *traceindices, int n=-1) |
static void | initStandardTraces (const InList &data, int *ntraces, int *traceindices, const string *names, string &namelist, bool alpha=false) |
static void | initStandardEventTraces (const InList &data, const EventList &events, int *ntraces, int *traceindices, int *eventindices, const string *tracenames, const string *eventnames, string &tracenamelist, string &eventnamelist, bool alpha=false) |
static void | initStandardOutputs (const RELACSPlugin *rp, int *ntraces, int *traceindices, const string *names, string &namelist, bool alpha=false) |
Protected Attributes inherited from ConfigDialog | |
Options | DialogOptions |
Static Protected Attributes inherited from Traces | |
static int | EODTrace = -1 |
static int | EODEvents = -1 |
static int | ChirpEvents = -1 |
static int | LocalEODTraces = 0 |
static int | LocalEODTrace [MaxTraces] = { -1, -1, -1, -1 } |
static int | LocalEODEvents [MaxTraces] = { -1, -1, -1, -1 } |
static int | LocalChirpEvents [MaxTraces] = { -1, -1, -1, -1 } |
static int | LocalBeatPeakEvents [MaxTraces] = { -1, -1, -1, -1 } |
static int | LocalBeatTroughEvents [MaxTraces] = { -1, -1, -1, -1 } |
static int | FishEODTanks = 0 |
static int | FishEODTraces [MaxTraces] = { 0, 0, 0, 0 } |
static int | FishEODTrace [MaxTraces][MaxTraces] = { { -1, -1, -1, -1 }, { -1, -1, -1, -1 } } |
static int | FishEODEvents [MaxTraces][MaxTraces] = { { -1, -1, -1, -1 }, { -1, -1, -1, -1 } } |
static int | FishChirpEvents [MaxTraces][MaxTraces] = { { -1, -1, -1, -1 }, { -1, -1, -1, -1 } } |
static int | GlobalEField = -1 |
static int | GlobalAMEField = -1 |
static int | LocalEFields = 0 |
static int | LocalEField [MaxTraces] = { -1, -1, -1, -1 } |
static int | LocalAMEFields = 0 |
static int | LocalAMEField [MaxTraces] = { -1, -1, -1, -1 } |
static int | FishEFields = 0 |
static int | FishEField [MaxTraces] = { -1, -1, -1, -1 } |
static int | EFields = 0 |
static int | EField [2 *MaxTraces] = { -1, -1, -1, -1 } |
static int | GlobalEFieldTrace = -1 |
static int | GlobalEFieldEvents = -1 |
static int | LocalEFieldTraces = 0 |
static int | LocalEFieldTrace [MaxTraces] = { -1, -1, -1, -1 } |
static int | LocalEFieldEvents [MaxTraces] = { -1, -1, -1, -1 } |
static int | FishEFieldTraces = 0 |
static int | FishEFieldTrace [MaxTraces] = { -1, -1, -1, -1 } |
static int | FishEFieldEvents [MaxTraces] = { -1, -1, -1, -1 } |
Static Protected Attributes inherited from StandardTraces | |
static const int | MaxTraces |
[Model] EOD with interruptions or chirps
eodtype=Sine:
EOD type (string
)localamplitude=1mV/cm
: EOD Amplitude for local electrode (number
)globalamplitude=1mV/cm
: EOD Amplitude for global electrode (number
)frequency=1000Hz
: Frequency (number
)freqsd=10Hz
: Standard deviation of frequency modulation (number
)freqtau=1000s
: Timescale of frequency modulation (number
)interrupt=false:
Add interruptions (boolean
)interruptduration=100ms
: Duration of interruption (number
)interruptamplitude=0%
: Amplitude fraction of interruption (number
)localstimulusgain=1
: Gain for additive stimulus component to local electrode (number
)globalstimulusgain=0
: Gain for additive stimulus component to global electrode (number
)stimulusgain=1
: Gain for stimulus recording channel (number
) EODModel | ( | void | ) |
|
virtual |
Reimplemented from Model.
References Model::deltat(), Traces::EODTrace, Traces::FishEFieldTrace, Traces::FishEFieldTraces, Traces::FishEODTanks, Traces::FishEODTrace, Traces::FishEODTraces, RandomGSL::gaussian(), Traces::GlobalEFieldTrace, Model::interrupt(), Traces::LocalEFieldTrace, Traces::LocalEFieldTraces, Traces::LocalEODTrace, Traces::LocalEODTraces, Model::next(), Model::push(), Model::signal(), Model::time(), and Model::traces().
Reimplemented from Model.
References Traces::FishEField, Traces::FishEFields, Traces::GlobalAMEField, OutData::level(), Traces::LocalAMEField, Traces::LocalAMEFields, Traces::LocalEField, Traces::LocalEFields, and OutData::trace().