Stimfit @PACKAGE_VERSION@
Loading...
Searching...
No Matches
stf Namespace Reference

The stimfit namespace. More...

Classes

class  Event
 Describes the attributes of an event. More...
struct  Extension
 User-defined Python extension. More...
struct  ifstreamMan
 Resource manager for ifstream objects. More...
struct  ofstreamMan
 Resource manager for ofstream objects. More...
struct  Plugin
 User-defined plugin. More...
struct  PyMarker
 A marker that can be set from Python. More...
struct  SectionAttributes
struct  SectionPointer
struct  UserInput
 Represents user input from dialogs that can be used in plugins. More...
class  wxProgressInfo
 Progress Info interface adapter; maps to wxProgressDialog. More...

Typedefs

typedef boost::function< Recording(const Recording &, const Vector_double &, std::map< std::string, double > &)> PluginFunc
 Get a Recording, do something with it, return the new Recording.

Enumerations

enum  cursor_type {
  measure_cursor , peak_cursor , base_cursor , decay_cursor ,
  latency_cursor , zoom_cursor , event_cursor , annotation_cursor ,
  undefined_cursor
}
 Mouse cursor types. More...
enum  zoom_channels { zoomch1 , zoomch2 , zoomboth }
 Determines which channels to scale. More...
enum  latency_mode {
  manualMode = 0 , peakMode = 1 , riseMode = 2 , halfMode = 3 ,
  footMode = 4 , undefinedMode
}
 Latency cursor settings. More...
enum  latency_window_mode { defaultMode = 0 , windowMode = 1 }
 Latency window settings. More...
enum  extraction_mode { criterion , correlation , deconvolution }
 Deconvolution. More...

Functions

std::string wx2std (const wxString &wxs)
wxString std2wx (const std::string &sst)
wxString sectionToString (const Section &section)
 Converts a Section to a wxString.
wxString CreatePreview (const wxString &fName)
 Creates a preview of a text file.
wxString noPath (const wxString &fName)
 Strips the directory off a full path name, returns only the filename.
int round (double toRound)
 Does what it says.

Variables

const double PI =3.14159265358979323846
 Add decimals if you are not satisfied.

Detailed Description

The stimfit namespace.

All essential core functions and classes are in this namespace. Its purpose is to reduce name mangling problems.