SPINspiral
SPINspiral is a parameter-estimation code for gravitational-wave signals detected by LIGO/Virgo
Functions
src/SPINspiral_templates.c File Reference

(SPINspiral version 0.5.1, revision 275)

Contains routines that handle waveform-template generation. More...

#include <SPINspiral.h>
Include dependency graph for SPINspiral_templates.c:

Functions

void waveformTemplate (struct parSet *par, struct interferometer *ifo[], int ifonr, int waveformVersion, int injectionWF, struct runPar run)
 Compute an inspiral waveform.
void templateApostolatos (struct parSet *par, struct interferometer *ifo[], int ifonr, int injectionWF, struct runPar run)
 Compute an Apostolatos, 12-parameter, single spin, simple-precession waveform.
void localPar (struct parSet *par, struct interferometer *ifo[], int networkSize, int injectionWF, struct runPar run)
 Calculate the local parameters from the global parameters.

Detailed Description

Contains routines that handle waveform-template generation.


Function Documentation

void waveformTemplate ( struct parSet par,
struct interferometer ifo[],
int  ifonr,
int  waveformVersion,
int  injectionWF,
struct runPar  run 
)

Compute an inspiral waveform.

Compute an inspiral waveform template. waveformVersion determines the template to use. injectionWF indicates whether this is an injection waveform (1) or not (0).

References modifiedTukeyWindow(), interferometer::samplesize, templateApostolatos(), templateLAL12(), templateLAL15(), templateLALnonSpinning(), templateLALPhenSpinTaylorRD(), runPar::tukey1, and runPar::tukey2.

Referenced by dataFT(), IFOlogLikelihood(), signalFFT(), signalToNoiseRatio(), and writeSignalsToFiles().

void templateApostolatos ( struct parSet par,
struct interferometer ifo[],
int  ifonr,
int  injectionWF,
struct runPar  run 
)

Compute an Apostolatos, 12-parameter, single spin, simple-precession waveform.

Compute a spinning, 'simple-precession' template in restricted 1.5PN order with 1 spin (Apostolatos et al., 1994, PhRvD..49.6274A). The output vector ifo[ifonr]->FTin is of length ifo[ifonr]->samplesize, starting at 'tstart'(?) and with resolution ifo[ifonr]->samplerate.

References addVec(), c3rd, crossProduct(), dotProduct(), facVec(), interferometer::FTin, GMST(), interferometer::highCut, runPar::injParUse, runPar::injRevID, parSet::localti, parSet::locazi, parSet::loctc, longitude(), interferometer::lowCut, M0, McEta2masses(), runPar::mcmcParUse, Mpcs, mtpi, parSet::NdJ, parSet::par, runPar::parRevID, pi, interferometer::samplesize, and tpi.

Referenced by waveformTemplate().

void localPar ( struct parSet par,
struct interferometer ifo[],
int  networkSize,
int  injectionWF,
struct runPar  run 
)

Calculate the local parameters from the global parameters.

Calculate the local (i.e. in the detector frame) parameters from the global parameters. par : pointer to parameter set (struct) ifo : pointer to interferometer data (struct)

References angle(), c, coord2vec(), interferometer::FTstart, GMST(), runPar::injRevID, parSet::localti, parSet::locazi, parSet::loctc, longitude(), mtpi, orthoProject(), parSet::par, runPar::parRevID, pi, interferometer::positionvec, rightHanded(), and tpi.

Referenced by correlatedMCMCupdate(), dataFT(), main(), matchBetweenParameterArrayAndTrueParameters(), MCMC(), startMCMCOffset(), uncorrelatedMCMCblockUpdate(), uncorrelatedMCMCsingleUpdate(), and writeSignalsToFiles().

 All Data Structures Files Functions Variables Defines