Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALInspiral 5.0.3.1-8a6b96f
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
GetOrientationEllipse.c File Reference

Test code for the bank modules. More...

Prototypes

int main (void)
 

Detailed Description

Test code for the bank modules.

Author
Thomas Cokelaer

Usage

./getOrientationEllipse

Description

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.

Notes

Definition in file GetOrientationEllipse.c.

Go to the source code of this file.

Function Documentation

◆ main()

int main ( void  )

Definition at line 64 of file GetOrientationEllipse.c.