|
Stimfit @PACKAGE_VERSION@
|
Classes | |
| class | stfio::ProgressInfo |
| ProgressInfo class. More... | |
| class | stfio::StdoutProgressInfo |
| StdoutProgressInfo class. More... | |
| struct | stfio::txtImportSettings |
| Text file import filter settings. More... | |
Enumerations | |
| enum | stfio::filetype { stfio::atf , stfio::abf , stfio::axg , stfio::ascii , stfio::cfs , stfio::igor , stfio::son , stfio::hdf5 , stfio::heka , stfio::biosig , stfio::tdms , stfio::intan , stfio::none } |
| File types. More... | |
Functions | |
| StfioDll Vector_double | stfio::vec_scal_plus (const Vector_double &vec, double scalar) |
| StfioDll Vector_double | stfio::vec_scal_minus (const Vector_double &vec, double scalar) |
| StfioDll Vector_double | stfio::vec_scal_mul (const Vector_double &vec, double scalar) |
| StfioDll Vector_double | stfio::vec_scal_div (const Vector_double &vec, double scalar) |
| StfioDll Vector_double | stfio::vec_vec_plus (const Vector_double &vec1, const Vector_double &vec2) |
| StfioDll Vector_double | stfio::vec_vec_minus (const Vector_double &vec1, const Vector_double &vec2) |
| StfioDll Vector_double | stfio::vec_vec_mul (const Vector_double &vec1, const Vector_double &vec2) |
| StfioDll Vector_double | stfio::vec_vec_div (const Vector_double &vec1, const Vector_double &vec2) |
| stfio::ProgressInfo::ProgressInfo (const std::string &, const std::string &, int, bool) | |
| Constructor. | |
| virtual bool | stfio::ProgressInfo::Update (int value, const std::string &newmsg="", bool *skip=NULL)=0 |
| Updates the progress info. | |
| stfio::StdoutProgressInfo::StdoutProgressInfo (const std::string &title, const std::string &message, int maximum, bool verbose) | |
| bool | stfio::StdoutProgressInfo::Update (int value, const std::string &newmsg="", bool *skip=NULL) |
| Updates the progress info. | |
| stfio::txtImportSettings::txtImportSettings () | |
| StfioDll stfio::filetype | stfio::findType (const std::string &ext) |
| Attempts to determine the filetype from the filter extension. | |
| StfioDll std::string | stfio::findExtension (stfio::filetype ftype) |
| Returns file extension for a file type. | |
| StfioDll bool | stfio::importFile (const std::string &fName, stfio::filetype type, Recording &ReturnData, const stfio::txtImportSettings &txtImport, stfio::ProgressInfo &progDlg) |
| Generic file import. | |
| StfioDll bool | stfio::exportFile (const std::string &fName, stfio::filetype type, const Recording &Data, ProgressInfo &progDlg) |
| Generic file export. | |
| StfioDll Recording | stfio::concatenate (const Recording &src, const std::vector< std::size_t > §ions, ProgressInfo &progDlg) |
| Produce new recording with concatenated sections. | |
| StfioDll Recording | stfio::multiply (const Recording &src, const std::vector< std::size_t > §ions, std::size_t channel, double factor) |
| Produce new recording with multiplied sections. | |
Variables | |
| int | stfio::txtImportSettings::hLines |
| bool | stfio::txtImportSettings::toSection |
| bool | stfio::txtImportSettings::firstIsTime |
| int | stfio::txtImportSettings::ncolumns |
| double | stfio::txtImportSettings::sr |
| std::string | stfio::txtImportSettings::yUnits |
| std::string | stfio::txtImportSettings::yUnitsCh2 |
| std::string | stfio::txtImportSettings::xUnits |
| enum stfio::filetype |
File types.
| StfioDll Recording stfio::concatenate | ( | const Recording & | src, |
| const std::vector< std::size_t > & | sections, | ||
| ProgressInfo & | progDlg ) |
Produce new recording with concatenated sections.
| src | Source recording |
| sections | Indices of selected sections |
| ProgressInfo | Progress indicator |
References StfioDll.
| StfioDll bool stfio::exportFile | ( | const std::string & | fName, |
| stfio::filetype | type, | ||
| const Recording & | Data, | ||
| ProgressInfo & | progDlg ) |
Generic file export.
| fName | The full path name of the file. |
| type | The file type. |
| Data | Data to be written |
| ProgressInfo | Progress indicator |
References StfioDll.
| StfioDll std::string stfio::findExtension | ( | stfio::filetype | ftype | ) |
Returns file extension for a file type.
| ftype | File type |
References StfioDll.
| StfioDll stfio::filetype stfio::findType | ( | const std::string & | ext | ) |
Attempts to determine the filetype from the filter extension.
| ext | The filter extension to be tested (in the form wxT("*.ext")). |
References StfioDll.
| StfioDll bool stfio::importFile | ( | const std::string & | fName, |
| stfio::filetype | type, | ||
| Recording & | ReturnData, | ||
| const stfio::txtImportSettings & | txtImport, | ||
| stfio::ProgressInfo & | progDlg ) |
Generic file import.
| fName | The full path name of the file. |
| type | The file type. |
| ReturnData | Will contain the file data on return. |
| txtImport | The text import filter settings. |
| ProgressInfo | Progress indicator |
References StfioDll.
|
inline |
| stfio::StdoutProgressInfo::StdoutProgressInfo | ( | const std::string & | title, |
| const std::string & | message, | ||
| int | maximum, | ||
| bool | verbose ) |
|
inline |
|
pure virtual |
Updates the progress info.
| value | New value of the progress meter |
| newmsg | New message for the info text |
| skip | This is set to true if the user has chosen to skip the operation |
Implemented in stf::wxProgressInfo, and stfio::StdoutProgressInfo.
|
virtual |
Updates the progress info.
| value | New value of the progress meter |
| newmsg | New message for the info text |
| skip | This is set to true if the user has chosen to skip the operation |
Implements stfio::ProgressInfo.
| StfioDll Vector_double stfio::vec_scal_div | ( | const Vector_double & | vec, |
| double | scalar ) |
References StfioDll.
| StfioDll Vector_double stfio::vec_scal_minus | ( | const Vector_double & | vec, |
| double | scalar ) |
References StfioDll.
| StfioDll Vector_double stfio::vec_scal_mul | ( | const Vector_double & | vec, |
| double | scalar ) |
References StfioDll.
| StfioDll Vector_double stfio::vec_scal_plus | ( | const Vector_double & | vec, |
| double | scalar ) |
References StfioDll.
| StfioDll Vector_double stfio::vec_vec_div | ( | const Vector_double & | vec1, |
| const Vector_double & | vec2 ) |
References StfioDll.
| StfioDll Vector_double stfio::vec_vec_minus | ( | const Vector_double & | vec1, |
| const Vector_double & | vec2 ) |
References StfioDll.
| StfioDll Vector_double stfio::vec_vec_mul | ( | const Vector_double & | vec1, |
| const Vector_double & | vec2 ) |
References StfioDll.
| StfioDll Vector_double stfio::vec_vec_plus | ( | const Vector_double & | vec1, |
| const Vector_double & | vec2 ) |
References StfioDll.
| bool stfio::txtImportSettings::firstIsTime |
First column contains time.
Definition at line 107 of file stfio.h.
Referenced by txtImportSettings().
| int stfio::txtImportSettings::hLines |
| int stfio::txtImportSettings::ncolumns |
| double stfio::txtImportSettings::sr |
| bool stfio::txtImportSettings::toSection |
Import columns into separate sections rather than separate channels.
Definition at line 106 of file stfio.h.
Referenced by txtImportSettings().
| std::string stfio::txtImportSettings::xUnits |
| std::string stfio::txtImportSettings::yUnits |
| std::string stfio::txtImportSettings::yUnitsCh2 |
y units string of second channel.
Definition at line 111 of file stfio.h.
Referenced by txtImportSettings().