namespace diag class ffttest : public stdtest Object for implementing a FFT test
| | ffttest () Default constructor. |
| | ~ffttest () Destructor. |
| | self () const Diagnostics test object creation function. |
| | end (std::ostringstream& errmsg) Cleanup method. |
| | tmpresult temporary storage for intermediates results
|
| | fftSpanFactor frequency span stretch factor: 1.1 |
| | fStart start frequency |
| | fStop stop frequency |
| | BW bandwidth |
| | overlap overlap |
| | window window type |
| | removeDC remove DC part? |
| | AChannels number of A channels |
| | measTime measurement time |
| | settlingTime settling time |
| | skipMeas number of skipped measurement steps |
| | windowBW resolution bandwidth (window dependent) |
| | fSpan frequency span |
| | fftPoints Number of points used in the FFT |
| | points Number of points in result |
| | fMaxMeas highest frequency of interest |
| | fMinSample lowest sampling frequency |
| | fSample sampling frequency after 1st decimation |
| | fZoom zoom frequency |
| | fZoomStart zoom frequency start time |
| | decimate2 second decimation stage |
| | numA total number of A channels (including stimuli) |
| | mStart measurement start time |
| | exct0 t = 0 for excitation signals |
| | mTimeAdd time to add to mTime to set it to the next time grid |
| | fftPlan fft plan |
| | tmps 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. |
| | stopMeasurements (int firstIndex = -1) Stop measurements method. |
| | analyze (const callbackarg& id, int measnum, bool& notify) Analysis method. |
| | fft (int resultnum, int measnum, string chnname, bool stim, const callbackarg& id) FFT method |
| | cross (int resultnum, int measnum, string chnname, bool stim, const callbackarg& id) Cross-correlation and coherence method |
FFT Test This object implements the Fourier tests.
virtual ~ffttest()
virtual diagtest* self() const
virtual bool end(std::ostringstream& errmsg)
static const double fftSpanFactor
class tmpresult
static const fftparam fftparamZero
explicit tmpresult(string Name, int Size = 0, bool Cmplx = false, const fftparam& param = fftparamZero)
Size - size of storage arrays
Cmplx - set true if time series was down-converted
~tmpresult()
tmpresult(const tmpresult& tmp)
tmpresult& operator= (const tmpresult& tmp)
bool allocate(int Size = 0)
bool valid() const
mutable readwritelock lock
string name
bool cmplx
int size
double fStart
double fStop
double BW
double overlap
int window
bool removeDC
int AChannels
double measTime
double settlingTime
int skipMeas
double windowBW
double fSpan
int fftPoints
int points
double fMaxMeas
double fMinSample
double fSample
double fZoom
tainsec_t fZoomStart
int decimate2
int numA
double mStart
double exct0
double mTimeAdd
fftparam fftPlan
tmpresults tmps
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 stopMeasurements(int firstIndex = -1)
virtual bool analyze(const callbackarg& id, int measnum, bool& notify)
measnum - measurement number
notify - if true upon return sends a notfication message
bool fft(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 cross(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++