class SweptSine Swept sine analysis
| | SweptSine () Default constructor. |
| | SweptSine (double fsample, double fstart, double fstop, int points = 101, const char* type = "log", double cycles = 10, double mintime = 0.1, double settle = 0.3, const Window* window = 0) Default constructor. |
| | SweptSine (const SweptSine& prm) Copy constructor. |
| | ~SweptSine () Destructor. |
| | operator= (const SweptSine& prm) Assignment operator. |
| | Sweep (const Pipe& filter, float* f, fComplex* tf) const Sweep. |
| | operator) (const Pipe& filter, float f) const Sine response. |
| | Response (const Pipe& filter, float f) const Sine response. |
| | GetSampling () const Get sampling rate. |
| | SetSampling (double fsample) Set sampling rate. |
| | GetFStart () const Get start frequency. |
| | SetFStart (double fstart) Set start frequency. |
| | GetFStop () const Get stop frequency. |
| | SetFStop (double fstop) Set stop frequency. |
| | GetPoints () const Get number of points. |
| | SetPoints (int points) Set number of points. |
| | GetSweepType () const Get sweep type. |
| | SetSweepType (const char* type) Set sweep type. |
| | GetCycles () const Get number of measurement cycles. |
| | SetCycles (double cycles) Set number of measurement cycles. |
| | GetMinTime () const Get minimum measurement time. |
| | SetMinTime (double mintime) Set minimum measurement time. |
| | GetSettlingTime () const Get settling time. |
| | SetSettlingTime (double settle) Set settling time. |
| | GetWindow () const Get window. |
| | SetWindow (const Window* w) Set window. |
| | fFsample Sample frequency |
| | fFstart Start frequency |
| | fFstop Stop frequency |
| | fPoints Number of points |
| | fType Sweept type: Linear or Logarithmic |
| | fCycles Number of cycles to measure |
| | fMinTime Minimum time to measure |
| | fSettlingTime Settling time (relative to the measurement time) |
| | fWindow Window function |
| | ComputeCoeff (Pipe& f1, float f, fComplex& tf, Window& win) const Compute a transfer coefficient |
Swept sine analysis. A sweep will go through the specified frequency range, generate a sine waveform of the specified measurement time, send it through a filter, window the result, down-convert it by the sine frequency, take the complex average of output and input and form the transfer coefficient.
double fFstart
double fFstop
int fPoints
std::string fType
double fCycles
double fMinTime
double fSettlingTime
Window* fWindow
SweptSine()
SweptSine(double fsample, double fstart, double fstop, int points = 101, const char* type = "log", double cycles = 10, double mintime = 0.1, double settle = 0.3, const Window* window = 0)
SweptSine(const SweptSine& prm)
~SweptSine()
SweptSine& operator= (const SweptSine& prm)
bool Sweep(const Pipe& filter, float* f, fComplex* tf) const
f - frequency array (return)
tf - transfer function (return)
fComplex operator) (const Pipe& filter, float f) const
f - frequency
fComplex Response(const Pipe& filter, float f) const
f - frequency
double GetSampling() const
void SetSampling(double fsample)
double GetFStart() const
void SetFStart(double fstart)
double GetFStop() const
void SetFStop(double fstop)
int GetPoints() const
void SetPoints(int points)
const char* GetSweepType() const
void SetSweepType(const char* type)
double GetCycles() const
void SetCycles(double cycles)
double GetMinTime() const
void SetMinTime(double mintime)
double GetSettlingTime() const
void SetSettlingTime(double settle)
Window* GetWindow() const
void SetWindow(const Window* w)
bool ComputeCoeff(Pipe& f1, float f, fComplex& tf, Window& win) const
alphabetic index hierarchy of classes
Please send questions and comments to zweizig_j@ligo.caltech.edu
generated by doc++