QNoiseGenerator Class Reference

List of all members.


Detailed Description

class to generate random noise samples given a desired mean power spectrum

Author:
M. Carrettoni carrettoni@mib.infn.it

Public Types

enum  Type {
  NONE = 0, InputPS = 1, Random = 2, Sin = 3,
  RandomWithBessel = 4, InputPS_FD = 5, PinkPS = 6, PinkPSWithBessel = 7
}

Public Member Functions

 QNoiseGenerator (Type type, size_t size, double samplFreq, double p1, double p2, const gsl_rng *randGen, const QVector *=NULL)
QVector GetNoise (bool continued)
QVector fShift (QVector &, float &)
void SetBesselCutOff (double bessCut)

Private Member Functions

void SetPSParameters (const QVector &)
void RandomizePS (bool continued)
void RandomizePS_FD (bool continued, bool useBessel=false)
void RandomizeSin (bool continued)
void RandomizeRandom ()
void RandomizeRandomWithBessel (bool continued)
void SetPSShape (const QVector &)
QVector GetPinkPS (size_t size)

Private Attributes

QVector noisesample
const gsl_rng * fRandomGen
Type fType
size_t fSize
double fSamplingFrequency
double fBesselCutOff
double fScale
double fScale2
double fLambda
double fMeanRMS
QVector fPast
QVector Shape
QRealComplexFFT fft
double mean_ps
QVectorC fShapeC
QRealComplexFFT fWideFFT
double fNorm
double fFrequency

The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:07 2010 for CUORE Software by  doxygen 1.5.6