52#include <lal/LALNoiseModelsInspiral.h>
53#include <lal/LALNoiseModels.h>
68 filter2->
data[nby2] = filter1->
data[nby2];
69 for (
i=1;
i<nby2;
i++)
183 fp = 0.5*(1 + t*t)*cos(
p)*cos(
s) - t*sin(
p)*sin(
s);
184 fc = 0.5*(1 + t*t)*cos(
p)*sin(
s) + t*sin(
p)*cos(
s);
185 for (kk=0; kk < output1.
length; kk++)
230 normin.
psd = &(overlapin->
psd);
244 corrin.
psd = overlapin->
psd;
255 nBegin = overlapin->
nBegin;
257 x = output1.
data[nBegin];
258 y = output2.
data[nBegin];
260 overlapout->
bin = nBegin;
261 overlapout->
phase = atan2(
y,
x);
262 for (
i=nBegin;
i<nEnd;
i++) {
266 if (z>overlapout->
max) {
269 overlapout->
phase = atan2(
y,
x);
273 phase = overlapout->
phase;
300 cos(phase) * output1.
data[
i] + sin(phase) * output2.
data[
i];
331 + sin(phase) * output2.
data[
i];
340 overlapout->
max = sqrt(overlapout->
max);
void LALInspiralWave(LALStatus *status, REAL4Vector *signalvec, InspiralTemplate *params)
void LALInspiralWaveCorrelate(LALStatus *status, REAL4Vector *output, InspiralWaveCorrelateIn corrin)
void LALInspiralWaveNormaliseLSO(LALStatus *status, REAL4Vector *filter, REAL8 *norm, InspiralWaveNormaliseIn *in)
void LALInspiralWaveOverlap(LALStatus *status, REAL4Vector *output, InspiralWaveOverlapOut *overlapout, InspiralWaveOverlapIn *overlapin)
static void LALInspiralGetOrthoNormalFilter(REAL4Vector *filter2, REAL4Vector *filter1)
#define ABORT(statusptr, code, mesg)
#define CHECKSTATUSPTR(statusptr)
#define ATTATCHSTATUSPTR(statusptr)
#define ASSERT(assertion, statusptr, code, mesg)
#define DETATCHSTATUSPTR(statusptr)
#define INITSTATUS(statusptr)
#define RETURN(statusptr)
int LALInfo(LALStatus *status, const char *info)
int LALPrintError(const char *fmt,...)
#define LALNOISEMODELSH_ENULL
#define LALNOISEMODELSH_EMEM
#define LALNOISEMODELSH_ESIZE
int XLALREAL4VectorFFT(REAL4Vector *_LAL_RESTRICT_ output, const REAL4Vector *_LAL_RESTRICT_ input, const REAL4FFTPlan *plan)
Approximant approximant
Post-Newtonain approximant to be used in generating the wave (input)
INT4 nStartPad
Number of leading elements in the signal generation to be set to zero (input) If template is requeste...
REAL8 startPhase
starting phase of the waveform in radians (input)
REAL8 sourcePhi
Azimuth angle in the direction to the source.
REAL8 fFinal
final frequency reached, in units of Hz (output)
REAL8 tSampling
Sampling rate in Hz (input)
REAL8 sourceTheta
Co-latitute in the direction to the source.
UINT2 ifCorrelationOutput
char output[FILENAME_MAX]