20#include <lal/LALInspiralBank.h>
21#include <lal/LALStdlib.h>
88 if ( ! Pars1 || ! Pars2 || ! Pars3 || !Pars4 )
114 Pars2->mass1 = Pars2->mass2 = coarseIn.
MMin/2.;
118 Pars2->mass1 = Pars2->mass2 = coarseIn.
mMin;
123 Pars3->mass1 = coarseIn.
mMin;
124 Pars3->mass2 = coarseIn.
MMax - coarseIn.
mMin;
130 Pars4->mass1 = coarseIn.
mMin;
131 Pars4->mass2 = coarseIn.
MMin - coarseIn.
mMin;
143 bankParams->
x0 = bankParams->
x0Min = Pars1->
t0;
144 bankParams->
x0Max = (Pars2->t0 > Pars4->t0) ? Pars2->t0 : Pars4->t0;
146 switch ( coarseIn.
space )
149 bankParams->
x1 = bankParams->
x1Min = Pars1->
t2;
150 bankParams->
x1Max = (Pars2->t2 > Pars3->t2) ? Pars2->t2 : Pars3->t2;
154 bankParams->
x1 = bankParams->
x1Min = Pars1->
t3;
155 bankParams->
x1Max = (Pars2->t3 > Pars3->t3) ? Pars2->t3 : Pars3->t3;
void LALInspiralParameterCalc(LALStatus *status, InspiralTemplate *params)
#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)
@ m1Andm2
component masses
#define LALINSPIRALBANKH_ECHOICE
Invalid choice for an input parameter.
#define LALINSPIRALBANKH_ENULL
Null pointer.
void LALInspiralSetParams(LALStatus *status, InspiralTemplate *tempPars, InspiralCoarseBankIn coarseIn)
A routine that fills an InspiralTemplate structure based on the values in the InspiralCoarseBankIn st...
void LALInspiralSetSearchLimits(LALStatus *status, InspiralBankParams *bankParams, InspiralCoarseBankIn coarseIn)
Function which calculates the minimum and maximum values of and .
#define LALINSPIRALBANKH_ESIZE
Invalid input range.
#define LALINSPIRALBANKH_EMEM
Memory allocation failure.
@ MinMaxComponentTotalMass
@ Tau0Tau2
space of chirptimes
@ Tau0Tau3
space of chirptimes
This is a structure needed in the inner workings of the LALInspiralCreateCoarseBank code.
REAL8 x1Max
maximum value of the second coordinate as defined by the search region
REAL8 x1Min
minimum value of the second coordinate as defined by the search region
REAL8 x1
the second coordinate, chosen to be either or
REAL8 x0Min
minimum value of the first coordinate as defined by the search region
REAL8 x0Max
maximum value of the first coordinate as defined by the search region
REAL8 x0
the first coordinate, chosen to be always
Input for choosing a template bank.
REAL8 mMin
minimum mass of components to search for
InspiralBankMassRange massRange
enum that determines whether templates should be chosen using fixed ranges for component masses or to...
REAL8 tSampling
Sampling rate.
REAL8 MMax
alternatively, maximum total mass of binary to search for
REAL8 fLower
Lower frequency cutoff.
REAL8 mmCoarse
Coarse grid minimal match.
CoordinateSpace space
enum that decides whether to use or in constructing the template bank
The inspiral waveform parameter structure containing information about the waveform to be generated.
REAL8 t2
first post-Newtonian chirp time in seconds (input/output)
REAL8 mass1
Mass of the primary in solar mass (input/output)
REAL8 t3
1.5 post-Newtonian chirp time in seconds (input/output)
REAL8 t0
Newtonain chirp time in seconds (input/output)
REAL8 mass2
Mass of the secondary in solar mass (mass1 need not be larger than mass2 (input/output)
InputMasses massChoice
The pair of (mass) parameters given (see structure defining this member for more details) (input)