Auditory-Projects Relacs Plugins 0.9.8
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
SpikePrecision Class Reference

[RePro] Assess spike precision in locust auditory receptors More...

#include <spikeprecision.h>

Inheritance diagram for SpikePrecision:
Inheritance graph
[legend]
Collaboration diagram for SpikePrecision:
Collaboration graph
[legend]

List of all members.

Classes

struct  EnvelopeFrequencyData

Public Member Functions

 SpikePrecision (void)
 ~SpikePrecision (void)
virtual int main (void)

Protected Types

enum  WaveForms {
  Sine, Rectangular, Triangular, Sawup,
  Sawdown, Noisegap, Noisecutoff
}
enum  StoreModes { SessionPath, ReProPath, CustomPath }

Protected Member Functions

void analyze (vector< EnvelopeFrequencyData > &results)
void plot (const SampleDataD &amdb, const vector< EnvelopeFrequencyData > &results)
void saveSpikes (const vector< EnvelopeFrequencyData > &results)
void saveRates (const vector< EnvelopeFrequencyData > &results)
void save (const vector< EnvelopeFrequencyData > &results)
int createStimulus (OutData &signal, SampleDataD &amdb, double frequency, const Str &file, bool store=true)
void customEvent (QEvent *qce)

Protected Attributes

double CarrierFrequency
double Amplitude
double PeakAmplitude
double PeakAmplitudeFac
RangeLoop FreqRange
double Frequency
WaveForms WaveForm
double DutyCycle
double RelFreqGap
double AbsFreqGap
bool Rescale
double Ramp
double Ramp2
double Intensity
double Duration
int StimRepetition
int Side
double SkipWindow
double Sigma1
double Sigma2
Str StorePath
Str StoreFile
MultiPlot SP
MultiPlot P
QStackedLayout * Stack
string StimulusLabel

Detailed Description

[RePro] Assess spike precision in locust auditory receptors

Author:
Samuel Glauser
Jan Benda
Options
  • Stimulus
  • freqrange=: Frequency range (string)
  • amplitude=4dB: Amplitude of envelope (number)
  • intensity=80dB SPL: Stimulus intensity (number)
  • intensitybase=SPL: Stimulus intensity relative to (string)
  • repeats=10times: Number of stimulus presentations (number)
  • duration=500ms: Duration of stimulus (number)
  • pause=1000ms: Duration of pause between stimuli (number)
  • carrierfreq=5kHz: Carrier frequency (number)
  • usebestfreq=true: Use the cell's best frequency (boolean)
  • side=left: Speaker (string)
  • Waveform
  • waveform=sine: Type of amplitude modulation (string)
  • dutycycle=50%: Duty-cycle of rectangular waveform (number)
  • stimfile=: Stimulus file (string)
  • stimampl=0: Amplitude factor (standard deviation) of stimulus file (number)
  • relfreqgap=20%: Relative width of frequency gap (number)
  • absfreqgap=10Hz: Absolute width of frequency gap (number)
  • rescale=true: Rescale filtered noise-gap stimuli (boolean)
  • ramp2=0ms: Ramp for rectangles and saw tooths (number)
  • ramp=2ms: Ramp at beginning and end of stimulus (number)
  • Intensity - search
  • userate=true: Search intensity for target firing rate (boolean)
  • rate=100Hz: Target firing rate (number)
  • ratetol=5Hz: Tolerance for target firing rate (number)
  • intensitystep=8dB: Initial intensity step (number)
  • searchrepeats=2times: Number of search stimulus presentations (number)
  • Analysis
  • skipwin=200ms: Initial portion of stimulus not used for analysis (number)
  • sigma1=1ms: Standard deviation of rate smoothing kernel 1 (number)
  • sigma2=20ms: Standard deviation of rate smoothing kernel 2 (number)
  • Save stimuli
  • storemode=session: Save stimuli in (string)
  • storepath=: Save stimuli in custom directory (string)
Version:
1.5 (Jan 10, 2008)

Member Enumeration Documentation

enum WaveForms [protected]
Enumerator:
Sine 
Rectangular 
Triangular 
Sawup 
Sawdown 
Noisegap 
Noisecutoff 
enum StoreModes [protected]
Enumerator:
SessionPath 
ReProPath 
CustomPath 

Constructor & Destructor Documentation

SpikePrecision ( void  )
~SpikePrecision ( void  )

Destructs a SpikePrecision-RePro.


Member Function Documentation

int main ( void  ) [virtual]

Implements RePro.

References RePro::Aborted, SpikePrecision::AbsFreqGap, RePro::addPath(), RELACSPlugin::adjust(), Options::allText(), SpikePrecision::Amplitude, SpikePrecision::analyze(), EventList::back(), Options::boolean(), SpikePrecision::CarrierFrequency, MultiPlot::clear(), MultiPlot::clearPlots(), RePro::Completed, RELACSPlugin::control(), SpikePrecision::createStimulus(), SpikePrecision::CustomPath, MultiPlot::draw(), SpikePrecision::Duration, SpikePrecision::DutyCycle, Map< T >::empty(), Str::empty(), DaqError::errorText(), RELACSPlugin::events(), RePro::Failed, Session::fICurve(), SpikePrecision::FreqRange, SpikePrecision::Frequency, Options::index(), Options::integer(), OutData::intensity(), SpikePrecision::Intensity, RePro::interrupt(), MultiPlot::lock(), RELACSPlugin::lockMetaData(), RePro::message(), RELACSPlugin::metaData(), SpikePrecision::Noisecutoff, SpikePrecision::Noisegap, Options::number(), DaqError::overflow(), SpikePrecision::P, SpikePrecision::PeakAmplitude, SpikePrecision::PeakAmplitudeFac, SpikePrecision::plot(), RELACSPlugin::postCustomEvent(), Str::provideSlash(), Map< T >::push(), EventList::push(), SpikePrecision::Ramp, SpikePrecision::Ramp2, EventList::rate(), EventData::rate(), SpikePrecision::RelFreqGap, RePro::reproPath(), SpikePrecision::ReProPath, SpikePrecision::Rescale, Map< T >::reserve(), RangeLoop::reset(), SpikePrecision::save(), SpikePrecision::SessionPath, RangeLoop::set(), MultiPlot::setDrawBackground(), OutData::setIntensity(), RELACSPlugin::settings(), Options::setValueTypeFlags(), SpikePrecision::Side, SpikePrecision::Sigma1, SpikePrecision::Sigma2, RELACSPlugin::signalTime(), RangeLoop::size(), EventList::size(), Map< T >::size(), SpikePrecision::SkipWindow, RePro::sleep(), RePro::softStop(), SpikePrecision::SP, Traces::Speaker, Traces::SpikeEvents, Session::ssFICurve(), SpikePrecision::StimRepetition, SpikePrecision::StimulusLabel, SpikePrecision::StoreFile, SpikePrecision::StorePath, DaqError::success(), RePro::testWrite(), Options::text(), Session::threshCurve(), RELACSPlugin::trace(), RePro::tracePlotSignal(), DaqError::underflow(), MultiPlot::unlock(), RELACSPlugin::unlockMetaData(), Options::warning(), SpikePrecision::WaveForm, RePro::write(), RePro::writeZero(), Map< T >::x(), and Map< T >::y().

void analyze ( vector< EnvelopeFrequencyData > &  results) [protected]
void plot ( const SampleDataD amdb,
const vector< EnvelopeFrequencyData > &  results 
) [protected]
void saveSpikes ( const vector< EnvelopeFrequencyData > &  results) [protected]
void saveRates ( const vector< EnvelopeFrequencyData > &  results) [protected]
void save ( const vector< EnvelopeFrequencyData > &  results) [protected]
int createStimulus ( OutData signal,
SampleDataD amdb,
double  frequency,
const Str file,
bool  store = true 
) [protected]
void customEvent ( QEvent *  qce) [protected, virtual]

Member Data Documentation

double CarrierFrequency [protected]
double Amplitude [protected]
double PeakAmplitude [protected]
double PeakAmplitudeFac [protected]
RangeLoop FreqRange [protected]
double Frequency [protected]
WaveForms WaveForm [protected]
double DutyCycle [protected]
double RelFreqGap [protected]
double AbsFreqGap [protected]
bool Rescale [protected]
double Ramp [protected]
double Ramp2 [protected]
double Intensity [protected]
double Duration [protected]
int StimRepetition [protected]
int Side [protected]
double SkipWindow [protected]
double Sigma1 [protected]
double Sigma2 [protected]
Str StorePath [protected]
Str StoreFile [protected]
MultiPlot SP [protected]
MultiPlot P [protected]
QStackedLayout* Stack [protected]
string StimulusLabel [protected]

The documentation for this class was generated from the following files: