Electric Field Measurement Relacs Plugins
0.9.8
|
#include <linearfield.h>
Public Slots | |
void | measure (void) |
void | finish (void) |
Public Slots inherited from ConfigDialog | |
virtual void | dialog (void) |
virtual void | help (void) |
virtual void | notifyDialog (const Options &opt) |
Public Member Functions | |
LinearField (void) | |
virtual int | main (void) |
void | analyze (double distance, const SampleDataF &data) |
void | plot (void) |
void | saveTrace (const SampleDataF &data) |
void | saveAmplitude (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) |
virtual void | preConfig (void) |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *e) |
virtual void | customEvent (QEvent *qce) |
Protected Member Functions inherited from ConfigDialog | |
void | setDialogOpen (bool open=true) |
void | setHelpOpen (bool open=true) |
Protected Attributes | |
OptWidget | O |
Plot | P |
Options | GUIOpts |
bool | Measure |
bool | Input |
QPushButton * | MeasureButton |
QPushButton * | FinishButton |
MapD | Amplitude |
Protected Attributes inherited from ConfigDialog | |
Options | DialogOptions |
Additional Inherited Members | |
Public Types inherited from ConfigClass | |
enum | Action |
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) |
Protected Slots inherited from ConfigDialog | |
void | notificationFromDialog (const Parameter &p) |
virtual void | dClosed (int r) |
virtual void | hClosed (int r) |
[RePro] Measure the electric field manually with a single electrode in one direction
duration=1s
: Duration of measurement (number
)LinearField | ( | void | ) |
|
virtual |
Implements RePro.
References LinearField::Amplitude, LinearField::analyze(), Map< T >::clear(), LinearField::GUIOpts, LinearField::Input, Plot::lock(), LinearField::Measure, LinearField::P, LinearField::plot(), Map< T >::reserve(), LinearField::saveAmplitude(), LinearField::saveTrace(), Plot::setXLabel(), Plot::setYLabel(), Plot::setYRange(), and Plot::unlock().
void analyze | ( | double | distance, |
const SampleDataF & | data | ||
) |
References LinearField::Amplitude, Map< T >::push(), and variance().
Referenced by LinearField::main().
void plot | ( | void | ) |
References LinearField::Amplitude, Array< T >::back(), Plot::clear(), Plot::draw(), Plot::lock(), LinearField::P, Plot::plot(), Map< T >::push(), Map< T >::size(), Plot::unlock(), Map< T >::x(), and Map< T >::y().
Referenced by LinearField::main().
void saveTrace | ( | const SampleDataF & | data | ) |
References TableKey::addNumber(), LinearField::GUIOpts, SampleData< T >::pos(), TableKey::saveKey(), and SampleData< T >::size().
Referenced by LinearField::main().
void saveAmplitude | ( | void | ) |
References TableKey::addNumber(), LinearField::Amplitude, Map< T >::empty(), TableKey::saveKey(), Map< T >::size(), Map< T >::x(), and Map< T >::y().
Referenced by LinearField::main().
|
slot |
References OptWidget::accept(), LinearField::Input, ConfigDialog::lock(), LinearField::Measure, LinearField::O, and ConfigDialog::unlock().
Referenced by LinearField::LinearField().
|
slot |
References LinearField::Input, ConfigDialog::lock(), LinearField::Measure, and ConfigDialog::unlock().
Referenced by LinearField::LinearField().
|
protectedvirtual |
References LinearField::FinishButton, and LinearField::MeasureButton.
|
protectedvirtual |
References OptWidget::firstWidget(), and LinearField::O.
|
protected |
Referenced by LinearField::customEvent(), LinearField::LinearField(), and LinearField::measure().
|
protected |
Referenced by LinearField::LinearField(), LinearField::main(), and LinearField::plot().
|
protected |
Referenced by LinearField::LinearField(), LinearField::main(), and LinearField::saveTrace().
|
protected |
Referenced by LinearField::finish(), LinearField::main(), and LinearField::measure().
|
protected |
Referenced by LinearField::finish(), LinearField::LinearField(), LinearField::main(), and LinearField::measure().
|
protected |
Referenced by LinearField::keyPressEvent(), and LinearField::LinearField().
|
protected |
Referenced by LinearField::keyPressEvent(), and LinearField::LinearField().
|
protected |
Referenced by LinearField::analyze(), LinearField::main(), LinearField::plot(), and LinearField::saveAmplitude().