Test code for the bank
modules.
More...
Prototypes | |
int | main (void) |
Test code for the bank
modules.
This code illustrates the use of several functions such as LALInspiralParameterCalc()
, LALGetInspiralMoments()
, and LALInspiralComputeMetric()
. It shows how to defined a suitable InspiralCoarseBankIn
structure so as to extract the metric components for a set of binary parameters. In this example, we first declare all the relevant parameter needed (minimum and maximum mass, fLower, design sensitivity curve and so on), which can be changed by the user before compilation.
Then, a loop spans a square parameter space defined by tau0 in the range [.1,40] seconds and tau3 in [1, 2] seconds. For each set of parameter, the metric is computed and the code prints on stdout the value of the coordinate used (tau0, tau3) and the orientation of the metric in degrees. We do not check whether a template is valid or not in this code but one could have use a function such as LALInspiralValidtemplate
to do so.
Definition in file GetOrientationEllipse.c.
Go to the source code of this file.
int main | ( | void | ) |
Definition at line 64 of file GetOrientationEllipse.c.