Stimfit @PACKAGE_VERSION@
Loading...
Searching...
No Matches

Cursor settings non-modal dialog. More...

#include <cursorsdlg.h>

Inheritance diagram for wxStfCursorsDlg:
Collaboration diagram for wxStfCursorsDlg:

Public Member Functions

 wxStfCursorsDlg (wxWindow *parent, wxStfDoc *initDoc, int id=wxID_ANY, wxString title=wxT("Cursor settings"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
 Constructor.
virtual void EndModal (int retCode)
 Called upon ending a modal dialog.
virtual bool TransferDataFromWindow ()
 Called when data should be transferred from the non-modal dialog (e.g. when OK is pressed)
int GetCursorM () const
 Get the measurement cursor x-position.
int GetCursor1P () const
 Get the left peak cursor x-position.
int GetCursor2P () const
 Get the right peak cursor x-position.
int GetCursor1B () const
 Get the left base cursor x-position.
int GetCursor2B () const
 Get the right base cursor x-position.
int GetCursor1D () const
 Get the left fit cursor x-position.
int GetCursor2D () const
 Get the right fit cursor x-position.
int GetCursor1L () const
 Get the left latency cursor x-position.
int GetCursor2L () const
 Get the right latency cursor x-position.
int GetPeakPoints () const
 Gets the number of points used for the binned average during peak detection.
int GetRTFactor () const
 Gets the lower factor (e.g 20) used to calculate the rise time.
void SetPeakAtEnd (bool is_end)
 Sets whether the right peak cursor should be at the end of the trace.
void SetPeakPoints (int peakPoints)
 Sets the number of points used for the binned average during peak detection.
void SetRTFactor (int RTFactor)
 Set the lower value (e.g 20) to compute the rise-time. The high value is simply 100-lower value.
int GetDeltaT () const
 Gets the distance to the first PSlope cursor in number of points.
void SetDeltaT (int DeltaT)
 Sets the number of points used for the distance from the first PSlope cursor.
void SetStartFitAtPeak (bool is_peak)
 Sets whether the left decay cursor should be at the peak of the trace.
stfnum::direction GetDirection () const
 Gets the direction of peak calculations.
stf::latency_mode GetLatencyStartMode () const
 Gets the mode of Latency for the beginning of the latency cursor.
stf::latency_mode GetLatencyEndMode () const
 Gets the mode of Latency of the last latency cursor.
void SetLatencyStartMode (stf::latency_mode latencyBegMode)
 Sets the latency mode of the left latency cursor.
void SetLatencyEndMode (stf::latency_mode latencyEndMode)
 Sets the latency mode of the right latency cursor.
bool GetFromBase () const
 Indicates whether to use the baseline as a reference for AP kinetics.
void SetDirection (stfnum::direction direction)
 Sets the direction of peak calculations.
void SetFromBase (bool frombase)
 Sets the reference for AP kinetics measurements.
void SetBaselineMethod (enum stfnum::baseline_method)
 Sets the reference for baseline measurement.
enum stfnum::baseline_method GetBaselineMethod () const
 Indiates whether baseline is computed as mean or as median.
bool GetPeakAtEnd () const
 Indicates whether the right peak cursor should always be at the end of the trace.
bool GetStartFitAtPeak () const
 Indicates whether to always start a fit at the current peak position.
void UpdateCursors ()
 Updates the cursor entries in the Cursors Settings menu.
stf::cursor_type CurrentCursor () const
 Retrieve the current cursor notebook page.
double GetSlope () const
 Get the slope at which the baseline should be fixed.
void SetSlope (double slope)
 Set the threshold slope.
void SetSlopeUnits (const wxString &units)
 Set the units of the slope.
bool GetBaseToSlope () const
 Indicates whether the baseline should be fixed to a certain slope.
bool GetRuler () const
 Indicates whether an additional vertical ruler is drawn through the measurement cursor.
void SetRuler (bool value)
 Sets whether an additional vertical ruler should be drawn through the measurement cursor.
bool LoadCursorConf (const wxString &filepath)
 Load a cursor configuration file (*csr) in the Cursor Settings menu.
bool SaveCursorConf (const wxString &filepath)
 Save a cursor configuration file (*csr) from the Cursor Settings menu.
void SetActiveDoc (wxStfDoc *actDoc_)
 Sets the currently active document.

Detailed Description

Cursor settings non-modal dialog.

Definition at line 39 of file cursorsdlg.h.


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