#include <findthreshold.h>
Public Member Functions | |
FindThreshold (void) | |
virtual int | main (void) |
virtual void | config (void) |
void | analyze (double amplitude, double duration, double savetime, double skiptime) |
void | plot (bool record, double duration) |
void | openFiles (ofstream &tf, TableKey &tracekey) |
void | saveTrace (ofstream &tf, TableKey &tracekey, int index) |
void | save (void) |
void | saveSpikes (void) |
void | saveData (void) |
Protected Attributes | |
Plot | P |
string | VUnit |
string | IUnit |
double | IInFac |
deque< Data > | Results |
int | SpikeCount |
int | TrialCount |
ArrayD | Amplitudes |
ArrayD | Latencies |
EventList | Spikes |
Options | Header |
Classes | |
struct | Data |
amplitudesrc=custom
: Use initial amplitude from (string
)startamplitude=0nA
: Initial amplitude of current stimulus (number
)startamplitudestep=0
.5nA: Initial size of amplitude steps used for searching threshold (number
)amplitudestep=0
.01nA: Final size of amplitude steps used for oscillating around threshold (number
)minspikecount=1
: Minimum required spike count for each trial (number
)resetcurrent=false
: Reset current to zero after each stimulus (boolean
)durationsel=in
milliseconds: Set duration of stimulus (string
)duration=1000ms
: Duration of stimulus (number
)durationfac=1tau_m
: Duration of stimulus (number
)searchpause=10ms
: Duration of pause between outputs during search (number
)pause=10ms
: Duration of pause between outputs (number
)savetime=1000ms
: Length of trace to be saved and analyzed (number
)skiptime=100ms
: Initial time skipped from spike-count analysis (number
)repeats=100
: Repetitions of stimulus (integer
) FindThreshold | ( | void | ) |
int main | ( | void | ) | [virtual] |
void config | ( | void | ) | [virtual] |
void analyze | ( | double | amplitude, | |
double | duration, | |||
double | savetime, | |||
double | skiptime | |||
) |
void plot | ( | bool | record, | |
double | duration | |||
) |
void openFiles | ( | ofstream & | tf, | |
TableKey & | tracekey | |||
) |
void saveTrace | ( | ofstream & | tf, | |
TableKey & | tracekey, | |||
int | index | |||
) |
void save | ( | void | ) |
void saveSpikes | ( | void | ) |
void saveData | ( | void | ) |
Plot P [protected] |
string VUnit [protected] |
string IUnit [protected] |
double IInFac [protected] |
int SpikeCount [protected] |
int TrialCount [protected] |
ArrayD Amplitudes [protected] |
ArrayD Latencies [protected] |
EventList Spikes [protected] |
Options Header [protected] |