23#include <lal/RealFFT.h>
REAL4VectorAligned * calcAveTFnoisePerFbinRatio(const REAL4VectorAligned *background, const REAL4VectorAligned *backgroundScaling, const UINT4 numffts)
Calculate the ratio of the average SFT noise to the mean of the average SFT noise.
REAL4 rmsTFdataBand(const REAL4VectorAligned *backgrnd, UINT4 numfbins, UINT4 numffts, UINT4 binmin, UINT4 binmax)
Determine the rms of the noise power in each frequency bin across the band.
void destroyffdata(ffdataStruct *data)
Free the frequency-frequency data structure.
INT4 medianBackgroundBandInTime(REAL4VectorAligned *aveNoiseInTime, const REAL4VectorAligned *backgrnd, const INT4Vector *sftexist)
INT4 makeSecondFFT(ffdataStruct *ffdata, REAL4VectorAligned *tfdata, const REAL4FFTPlan *plan)
Compute the second Fourier transform for TwoSpect.
REAL4VectorSequence * trackLines(const INT4Vector *lines, const INT4Vector *binshifts, const REAL4 minfbin, const REAL4 df)
Track the lines for the sky position.
MultiLALDetector * setupMultiLALDetector(LALStringVector *IFO)
INT4 cleanLines(REAL4VectorAligned *TFdata, const REAL4VectorAligned *background, const INT4Vector *lines, const UserInput_t *params, const gsl_rng *rng)
Test algorithm to clean lines.
INT4 ffPlaneNoise(REAL4VectorAligned *aveNoise, const UserInput_t *params, const INT4Vector *sftexist, const REAL4VectorAligned *aveNoiseInTime, const REAL4VectorAligned *antweights, const REAL4VectorAligned *backgroundScaling, const REAL4FFTPlan *plan, const REAL4VectorAligned *expDistVals, const gsl_rng *rng, REAL8 *normalization)
Measure of the average noise power in each 2nd FFT frequency bin.
INT4Vector * detectLines_simple(const REAL4VectorAligned *TFdata, const ffdataStruct *ffdata, const UserInput_t *params)
Line detection algorithm.
INT4 printREAL4Vector2File(const REAL4Vector *vector, const CHAR *directory, const CHAR *filename)
Print REAL4Vector values to an ASCII file.
REAL4 avgTFdataBand(const REAL4VectorAligned *backgrnd, UINT4 numfbins, UINT4 numffts, UINT4 binmin, UINT4 binmax)
Determine the average of the noise power in each frequency bin across the band.
ffdataStruct * createffdata(const UserInput_t *params)
Create a new frequency-frequency data structure for the TwoSpect analysis.
INT4 readTwoSpectInputParams(UserInput_t *uvar, int argc, char *argv[])
array of detectors definitions 'LALDetector'