Patch-clamp Relacs Plugins
0.9.8
|
#include <ficurve.h>
Classes | |
struct | Data |
Public Member Functions | |
FICurve (void) | |
virtual void | preConfig (void) |
virtual int | main (void) |
void | plotRangeSelection (void) |
void | plot (double duration, int inx) |
void | save (void) |
void | saveData (void) |
void | saveRate (void) |
void | saveSpikes (void) |
void | saveTraces (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) |
Protected Slots | |
void | plotMouseEvent (Plot::MouseEvent &me) |
Protected Slots inherited from ConfigDialog | |
void | notificationFromDialog (const Parameter &p) |
virtual void | dClosed (int r) |
virtual void | hClosed (int r) |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *qke) |
virtual void | customEvent (QEvent *qce) |
Protected Member Functions inherited from ConfigDialog | |
void | setDialogOpen (bool open=true) |
void | setHelpOpen (bool open=true) |
Protected Attributes | |
MultiPlot | P |
string | VUnit |
string | IUnit |
double | IInFac |
double | IStep |
bool | PlotRangeSelection |
deque< Data > | Results |
RangeLoop | Range |
Options | Header |
Protected Attributes inherited from ConfigDialog | |
Options | DialogOptions |
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) |
[RePro] F-I curve measured in current-clamp
Stimuli
ibase=zero:
Currents are relative to (string
)imin=0nA
: Minimum injected current (number
)imax=1nA
: Maximum injected current (number
)istep=0.001nA
: Minimum step-size of current (number
)optimizedimin=1000nA
: Minimum current below firing threshold (number
)manualskip=false:
Show buttons for manual selection of intensities (boolean
)Timing
duration=100ms
: Duration of current output (number
)delay=100ms
: Delay before current pulses (number
)pause=400ms
: Duration of pause between current pulses (number
)ishuffle=Up:
Initial sequence of currents for first repetition (string
)shuffle=Up:
Sequence of currents (string
)iincrement=-1
: Initial increment for currents (integer
)singlerepeat=1
: Number of immediate repetitions of a single stimulus (integer
)blockrepeat=10
: Number of repetitions of a fixed intensity increment (integer
)repeats=1
: Number of repetitions of the whole f-I curve measurement (integer
)Analysis
fmax=100Hz
: Maximum firing rate (number
)vmax=-50mV
: Maximum steady-state potential (number
)numpoints=0
: Number of points to measure below maximum firing rate (integer
)sswidth=50ms
: Window length for steady-state analysis (number
)ignorenoresponse=true:
Do not include trials without response (boolean
)diffincrement=0
: Optimize range at current increments below (integer
)maxratediff=10Hz
: Maximum difference between onset and steady-state firing rate for optimization (number
) FICurve | ( | void | ) |
|
virtual |
Reimplemented from ConfigClass.
References FICurve::IInFac, FICurve::IUnit, and FICurve::VUnit.
|
virtual |
Implements RePro.
References MultiPlot::clear(), OutData::constWave(), RangeLoop::count(), RangeLoop::currentIncrement(), RangeLoop::currentIncrementValue(), RangeLoop::currentRepetition(), DaqError::errorText(), DaqError::failed(), RangeLoop::finishedBlock(), FICurve::Header, FICurve::IInFac, FICurve::IStep, FICurve::IUnit, MultiPlot::lock(), OutData::maxValue(), OutData::minValue(), RangeLoop::next(), RangeLoop::noCount(), DaqError::overflow(), FICurve::P, FICurve::plot(), FICurve::plotMouseEvent(), FICurve::PlotRangeSelection, RangeLoop::pos(), OutData::pulseWave(), FICurve::Range, RangeLoop::reset(), FICurve::Results, FICurve::save(), RangeLoop::set(), OutData::setDelay(), OutData::setIdent(), RangeLoop::setIncrement(), RangeLoop::setSequence(), RangeLoop::setSkip(), RangeLoop::setSkipAbove(), RangeLoop::setSkipBelow(), RangeLoop::setSkipNumber(), OutData::setTrace(), RangeLoop::size(), RangeLoop::totalCount(), DaqError::underflow(), MultiPlot::unlock(), RangeLoop::update(), and RangeLoop::value().
void plotRangeSelection | ( | void | ) |
References FICurve::IStep, FICurve::P, Array< T >::push(), FICurve::Range, Array< T >::reserve(), RangeLoop::size(), RangeLoop::skip(), and RangeLoop::value().
Referenced by FICurve::plot(), and FICurve::plotMouseEvent().
void plot | ( | double | duration, |
int | inx | ||
) |
References MultiPlot::clear(), MultiPlot::draw(), FICurve::Data::I, FICurve::IUnit, MultiPlot::lock(), RangeLoop::maxCount(), RangeLoop::next(), FICurve::P, FICurve::plotRangeSelection(), FICurve::PlotRangeSelection, Map< T >::push(), FICurve::Range, FICurve::Data::Rate, FICurve::Results, EventList::size(), FICurve::Data::Spikes, and MultiPlot::unlock().
Referenced by FICurve::main().
void save | ( | void | ) |
References FICurve::Header, FICurve::saveData(), FICurve::saveRate(), FICurve::saveSpikes(), and FICurve::saveTraces().
Referenced by FICurve::main().
void saveData | ( | void | ) |
References TableKey::addNumber(), RangeLoop::count(), FICurve::Header, FICurve::IUnit, TableKey::newSection(), RangeLoop::next(), FICurve::Range, FICurve::Results, TableKey::save(), TableKey::saveKey(), and FICurve::VUnit.
Referenced by FICurve::save().
void saveRate | ( | void | ) |
References TableKey::addNumber(), RangeLoop::count(), FICurve::Header, FICurve::IUnit, RangeLoop::next(), FICurve::Range, FICurve::Results, TableKey::save(), and TableKey::saveKey().
Referenced by FICurve::save().
void saveSpikes | ( | void | ) |
References TableKey::addNumber(), RangeLoop::count(), FICurve::Header, FICurve::IUnit, RangeLoop::next(), FICurve::Range, FICurve::Results, and TableKey::saveKey().
Referenced by FICurve::save().
void saveTraces | ( | void | ) |
References TableKey::addNumber(), RangeLoop::count(), FICurve::Header, FICurve::IUnit, RangeLoop::next(), FICurve::Range, FICurve::Results, TableKey::save(), TableKey::saveKey(), and FICurve::VUnit.
Referenced by FICurve::save().
|
protectedslot |
References Plot::MouseEvent::control(), MultiPlot::draw(), RangeLoop::front(), FICurve::IStep, Plot::MouseEvent::left(), MultiPlot::lock(), FICurve::P, FICurve::plotRangeSelection(), FICurve::PlotRangeSelection, FICurve::Range, Plot::MouseEvent::released(), RangeLoop::setSkip(), RangeLoop::setSkipAbove(), RangeLoop::setSkipBelow(), Plot::MouseEvent::setUsed(), Plot::MouseEvent::shift(), RangeLoop::size(), RangeLoop::skip(), ConfigDialog::tryLock(), ConfigDialog::unlock(), MultiPlot::unlock(), RangeLoop::update(), Plot::MouseEvent::xCoor(), Plot::MouseEvent::xPos(), Plot::MouseEvent::yCoor(), and Plot::MouseEvent::yPos().
Referenced by FICurve::customEvent(), and FICurve::main().
|
protected |
Handle keyboard events.
References ConfigDialog::lock(), FICurve::Range, RangeLoop::setSkipNocount(), and ConfigDialog::unlock().
|
protectedvirtual |
References FICurve::plotMouseEvent().
|
protected |
Referenced by FICurve::FICurve(), FICurve::main(), FICurve::plot(), FICurve::plotMouseEvent(), and FICurve::plotRangeSelection().
|
protected |
Referenced by FICurve::preConfig(), FICurve::saveData(), and FICurve::saveTraces().
|
protected |
|
protected |
Referenced by FICurve::main(), and FICurve::preConfig().
|
protected |
Referenced by FICurve::FICurve(), FICurve::main(), FICurve::plotMouseEvent(), and FICurve::plotRangeSelection().
|
protected |
Referenced by FICurve::FICurve(), FICurve::main(), FICurve::plot(), and FICurve::plotMouseEvent().
|
protected |
Referenced by FICurve::main(), FICurve::plot(), FICurve::saveData(), FICurve::saveRate(), FICurve::saveSpikes(), and FICurve::saveTraces().
|
protected |
|
protected |
Referenced by FICurve::main(), FICurve::save(), FICurve::saveData(), FICurve::saveRate(), FICurve::saveSpikes(), and FICurve::saveTraces().