namespace diag class sineresponse : public stdtest Object for implementing a sine response test
| | sineresponse () Default constructor. |
| | self () const Diagnostics test object creation function. |
| | end (std::ostringstream& errmsg) Cleanup method. |
| | tmpresult temporary storage for intermediates results
|
| | measTime [2] measurement time |
| | settlingTime settling time |
| | harmonicOrder harmonic order |
| | window window type |
| | fftResult fft result? |
| | fMin smallest excitation frequency |
| | fMax highest excitation frequency |
| | fMaxMeas highest frequency of interest |
| | fMinSample lowest sampling frequency |
| | fMaxSample highest sampling frequency |
| | mTime measuerment time in sec |
| | mTimeAdd time to add to mTime to set it to the next time grid |
| | pTime precursor time in sec |
| | sTime settling time in sec |
| | rTime ramp time in sec |
| | skipMeas number of skipped measurement steps |
| | tmp temporary storage |
| | readParam (std::ostringstream& errmsg) Read parameter method. |
| | calcTimes (std::ostringstream& errmsg, tainsec_t& t0) Calculate measurement time method. |
| | newMeasPoint (int i, int measPoint = 0) Calculate measurement point method. |
| | calcMeasurements (std::ostringstream& errmsg, tainsec_t t0 = 0, int measPoint = 0) Add measurements method. |
| | analyze (const callbackarg& id, int measnum, bool& notify) Analysis method. |
| | sinedet (int resultnum, int measnum, string chnname, bool stim, const callbackarg& id) Sine detection method |
Sine Response This object implements the sine response test.
virtual diagtest* self() const
virtual bool end(std::ostringstream& errmsg)
class tmpresult
typedef std::vector <string> chnnames
explicit tmpresult(tainsec_t T0 = 0, int SizeA = 0, int SizeB = 0, int SizeF = 0)
SizeA - number of A channels
SizeB - number of B channels
SizeF - number of frequencies
~tmpresult()
tmpresult(const tmpresult& tmp)
tmpresult& operator= (const tmpresult& tmp)
bool allocate(int SizeA = 0, int SizeB = 0, int SizeF = 0)
SizeB - number of B channels
SizeF - number of frequencies
bool valid() const
int sizeA
int sizeB
int sizeF
tainsec_t t0
double* f
std::complex <float> * coeff
std::complex <float> * cross
double measTime[2]
double settlingTime
int harmonicOrder
int window
bool fftResult
double fMin
double fMax
double fMaxMeas
double fMinSample
double fMaxSample
double mTime
double mTimeAdd
double pTime
double sTime
double rTime
int skipMeas
tmpresult tmp
virtual bool readParam(std::ostringstream& errmsg)
virtual bool calcTimes(std::ostringstream& errmsg, tainsec_t& t0)
t0 - start time
virtual bool newMeasPoint(int i, int measPoint = 0)
t1 - earliest time measurement can start
i - measurement point index
measPoint - measurement index
virtual bool calcMeasurements(std::ostringstream& errmsg, tainsec_t t0 = 0, int measPoint = 0)
t0 - start time
measPoint - measurement point number
virtual bool analyze(const callbackarg& id, int measnum, bool& notify)
measnum - measurement number
notify - if true upon return sends a notfication message
bool sinedet(int resultnum, int measnum, string chnname, bool stim, const callbackarg& id)
measnum - measurement number
chnname - channel name (including array indices)
stim - true if stimulus readback channel
id - callback argument describing the sync event
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++