namespace diag class sweptsine : public stdtest Object for implementing a swept sine test
| | sweeppoints sweep point array type |
| | sweptsine () Default constructor. |
| | ~sweptsine () Destructor. |
| | self () const Diagnostics test object creation function. |
| | setup (std::ostringstream& errmsg, tainsec_t starttime, syncpointer& sync) Setup method. |
| | end (std::ostringstream& errmsg) Cleanup method. |
| | sstmpresult temporary storage for intermediates results
|
| | measTime [2] measurement time |
| | settlingTime settling time |
| | harmonicOrder harmonic order |
| | window window type |
| | fftResult fft result? |
| | sweepType sweep type |
| | sweepDir sweep direction |
| | fStart start frequency |
| | fStop stop frequency |
| | nSweep number of points per sweep |
| | pAverages number of averages per point |
| | AChannels number of A channels |
| | fPoints frequency points used by sweep |
| | fPointsFile frequency points read from file |
| | fMin smallest excitation frequency |
| | fMax highest excitation frequency |
| | fMaxMeas highest frequency of interest |
| | fMinSample lowest sampling frequency |
| | fMaxSample highest sampling frequency |
| | numA total number of A channels (including stimuli) |
| | 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 |
| | sstmps temporary storage for results |
| | sstmpsSize temporary storage length |
| | 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 |
| | transfn (int resultnum, int measnum, string chnname, bool stim, const callbackarg& id) Transfer function method |
| | syncPause (const callbackarg& id, syncpointer& sync) Sync pause method. |
| | syncResume (const callbackarg& id, syncpointer& sync) Sync abort method. |
Swept sine This object implements the swept sine test.
virtual ~sweptsine()
virtual diagtest* self() const
virtual bool setup(std::ostringstream& errmsg, tainsec_t starttime, syncpointer& sync)
starttime - start time of test
sync - synchronization point
virtual bool end(std::ostringstream& errmsg)
class sweeppoint
explicit sweeppoint(double Freq = 0.0, double Ampl= 0.0, double Phase = 0.0)
Ampl - amplitude
Phas - phase at start of measurement
double freq
double ampl
double phase
typedef std::vector <sweeppoint> sweeppoints
class sstmpresult
explicit sstmpresult(const std::string& Name = "", int Averages = 0)
Averages - number of averages (coefficients)
~sstmpresult()
sstmpresult(const sstmpresult& tmp)
sstmpresult& operator= (const sstmpresult& tmp)
bool allocate(int Averages = 0)
bool valid() const
int averages
string name
std::complex <double> * coeff
double measTime[2]
double settlingTime
int harmonicOrder
int window
bool fftResult
int sweepType
int sweepDir
double fStart
double fStop
int nSweep
int pAverages
int AChannels
sweeppoints fPoints
sweeppoints fPointsFile
double fMin
double fMax
double fMaxMeas
double fMinSample
double fMaxSample
int numA
double mTime
double mTimeAdd
double pTime
double sTime
double rTime
int skipMeas
sstmpresult* sstmps
int sstmpsSize
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
bool transfn(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
virtual bool syncPause(const callbackarg& id, syncpointer& sync)
sync - next synchronization point, or 0 if continue
virtual bool syncResume(const callbackarg& id, syncpointer& sync)
sync - next synchronization point, or 0 if continue
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++