Auditory-Projects Relacs Plugins 0.9.8
|
[RePro] A single short click More...
#include <oneclick.h>
Public Member Functions | |
OneClick (void) | |
~OneClick (void) | |
virtual int | main (void) |
void | saveSpikes (const string &file) |
void | plot (void) |
void | analyze (void) |
Protected Attributes | |
double | MinIntensity |
double | MaxIntensity |
double | IntensityStep |
int | IntRepeat |
double | Stepsize |
double | Duration |
double | Latency |
double | PreWidth |
double | Pause |
int | Side |
double | Intensity |
MultiPlot | P |
Options | Header |
[RePro] A single short click
intmin=30dB
SPL: Minimum Click intensity (number
)intmax=100dB
SPL: Maximum Click intensity (number
)intstep=5dB
SPL: Click intensity step (number
)repeat=15
: Number of repetitions of the whole f-I curve measurement (integer
)duration=2000microsec
: Duration of stimulus (number
)latency=2ms
: Latency after stimulus (number
)pause=400ms
: Pause (number
)side=left
: Speaker (string
)OneClick | ( | void | ) |
Constructor.
References Options::addInteger(), Options::addNumber(), Options::addText(), OneClick::Duration, OneClick::Intensity, OneClick::IntensityStep, OneClick::IntRepeat, OneClick::Latency, MultiPlot::lock(), OneClick::MaxIntensity, OneClick::MinIntensity, Options::newSection(), OneClick::P, OneClick::Pause, MultiPlot::resize(), Parameter::setStyle(), Options::setStyle(), RELACSPlugin::setWidget(), OneClick::Side, and MultiPlot::unlock().
~OneClick | ( | void | ) |
Destructor.
int main | ( | void | ) | [virtual] |
Read options, create stimulus and output of stimuli.
Implements RePro.
References RePro::Aborted, OneClick::analyze(), SampleData< T >::back(), MultiPlot::clear(), RePro::Completed, OneClick::Duration, Options::index(), Options::integer(), OneClick::Intensity, OneClick::IntensityStep, RePro::interrupt(), OneClick::IntRepeat, MultiPlot::lock(), OneClick::MaxIntensity, RePro::message(), OneClick::MinIntensity, Options::number(), OneClick::P, OneClick::Pause, OneClick::plot(), OutData::setIntensity(), OutData::setTrace(), OneClick::Side, RePro::sleep(), Traces::Speaker, RePro::tracePlotSignal(), OutData::triangleWave(), MultiPlot::unlock(), RePro::write(), and RePro::writeZero().
void saveSpikes | ( | const string & | file | ) |
void plot | ( | void | ) |
Plot data.
Referenced by OneClick::main().
void analyze | ( | void | ) |
Analyze data.
Referenced by OneClick::main().
double MinIntensity [protected] |
Referenced by OneClick::main(), and OneClick::OneClick().
double MaxIntensity [protected] |
Referenced by OneClick::main(), and OneClick::OneClick().
double IntensityStep [protected] |
Referenced by OneClick::main(), and OneClick::OneClick().
int IntRepeat [protected] |
Referenced by OneClick::main(), and OneClick::OneClick().
double Stepsize [protected] |
double Duration [protected] |
Referenced by OneClick::main(), and OneClick::OneClick().
double Latency [protected] |
Referenced by OneClick::OneClick().
double PreWidth [protected] |
double Pause [protected] |
Referenced by OneClick::main(), and OneClick::OneClick().
int Side [protected] |
Referenced by OneClick::main(), and OneClick::OneClick().
double Intensity [protected] |
Referenced by OneClick::main(), and OneClick::OneClick().
Referenced by OneClick::main(), and OneClick::OneClick().