|
efish Relacs Plugins
0.9.8
|
#include <sam.h>


Public Member Functions | |
| SAM (void) | |
| virtual int | main (void) |
| void | stop (void) |
| void | saveRate (int trace) |
| void | saveAmpl (void) |
| void | saveAllAmpl (void) |
| void | saveSpikes (int trace) |
| void | saveAllSpikes (int trace) |
| void | saveNerve (void) |
| void | saveAllNerve (void) |
| virtual void | save (void) |
| void | plot (void) |
| void | analyzeSpikes (const EventData &se, int k, const EventData &beattimes) |
| void | analyze (void) |
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 |
| virtual void | setName (const string &name) |
| 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) |
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) |
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) |
Protected Attributes inherited from ConfigDialog | |
| Options | DialogOptions |
[RePro] Measures responses to sinusoidal amplitude modulations.
Stimulus duration=1000ms: Duration of signal (number)pause=1000ms: Pause between signals (number)freqsel=relative to EOD: Stimulus frequency is (string)deltaf=5Hz: Delta f (beat frequency) (number)contrast=20%: Contrast (number)repeats=6: Repeats (integer)am=true: Amplitude modulation (boolean)sinewave=true: Use sine wave (boolean)ampl=0.0: Relative amplitude of harmonics (string)phase=0.0: Phase of harmonics (string)contrastsel=fundamental: Contrast is (string)Analysis skip=0.5Periods: Skip (number)ratebins=10: Number of bins for firing rate (integer)before=0ms: Spikes recorded before stimulus (number)after=0ms: Spikes recorded after stimulus (number)adjust=true: Adjust input gain? (boolean)Harmonics can be defined by ampl and phase. Enter the relative amplitude and the corresponding phase of each harmonic as comma separated values.
EODTrace2) and events (EODEvents2).SignalEvents1) if non AM stimuli are used.SpikeEvents[*]) or nerve recordings (NerveTrace1). | SAM | ( | void | ) |
References TableKey::addNumber(), SampleData< T >::clear(), Map< T >::clear(), and TableKey::newSection().
|
virtual |
Implements RePro.
References SAM::analyze(), DaqError::busy(), MultiPlot::clear(), MultiPlot::draw(), OutData::duration(), DaqError::error(), DaqError::errorText(), EventData::frequency(), OutData::intensity(), MultiPlot::lock(), DaqError::OverflowUnderrun, SAM::plot(), Str::range(), Map< T >::reserve(), MultiPlot::resize(), SAM::save(), SAM::saveAllAmpl(), SAM::saveAllNerve(), SAM::saveAllSpikes(), SAM::saveAmpl(), SAM::saveNerve(), SAM::saveSpikes(), MultiPlot::setCommonXRange(), MultiPlot::setCommonYRange(), OutData::setIntensity(), OutData::setPriority(), OutData::setStartSource(), SAM::stop(), DaqError::success(), and MultiPlot::unlock().
| void stop | ( | void | ) |
References SampleData< T >::clear(), Map< T >::free(), and SampleData< T >::free().
Referenced by SAM::main().
| void saveRate | ( | int | trace | ) |
References TableKey::addNumber(), TableKey::save(), TableKey::saveKey(), and SampleData< T >::size().
Referenced by SAM::save().
| void saveAmpl | ( | void | ) |
References TableKey::save(), TableKey::saveKey(), and TableKey::setUnit().
Referenced by SAM::main().
| void saveAllAmpl | ( | void | ) |
References TableKey::save(), TableKey::saveKey(), TableKey::setUnit(), Map< T >::size(), Map< T >::x(), and Map< T >::y().
Referenced by SAM::main().
| void saveSpikes | ( | int | trace | ) |
References TableKey::save(), and TableKey::saveKey().
Referenced by SAM::main().
| void saveAllSpikes | ( | int | trace | ) |
References TableKey::save(), and TableKey::saveKey().
Referenced by SAM::main().
| void saveNerve | ( | void | ) |
References TableKey::save(), and TableKey::saveKey().
Referenced by SAM::main().
| void saveAllNerve | ( | void | ) |
References SampleData< T >::pos(), TableKey::save(), TableKey::saveKey(), Map< T >::size(), SampleData< T >::size(), and Map< T >::x().
Referenced by SAM::main().
|
virtual |
| void plot | ( | void | ) |
Plot data.
References MultiPlot::clear(), MultiPlot::draw(), MultiPlot::lock(), and MultiPlot::unlock().
Referenced by SAM::main().
Analyze spikes.
References EventData::addFrequency(), EventData::addRate(), EventData::copy(), max(), and EventData::size().
Referenced by SAM::analyze().
| void analyze | ( | void | ) |
Analyze data.
References SAM::analyzeSpikes(), average(), EventList::back(), EventData::begin(), InData::begin(), Map< T >::clear(), EventData::count(), OutData::duration(), InData::end(), EventData::frequency(), EventList::front(), Detector< DataIter, TimeIter >::init(), EventData::interval(), max(), InData::max(), InData::mean(), min(), InData::min(), Detector< DataIter, TimeIter >::peakTrough(), SampleData< T >::pos(), EventData::previous(), Map< T >::push(), EventData::push(), Map< T >::reserve(), Map< T >::size(), SampleData< T >::size(), EventData::size(), EventList::size(), InData::stdev(), EventIterator::time(), InData::timeBegin(), EventData::within(), and Map< T >::x().
Referenced by SAM::main().
1.8.6