** Next:** Binary Inspiral Search on
** Up:** Galactic Modelling
** Previous:** Function: mc_chirp()
** Contents**

##

Example: `inject` program

This program produces a list of random Galactic neutron star-neutron star
binary inspiral
parameters for injection into the interferometer data to test the data
analysis software.
The inspiral waveforms correspond to two neutron star companions, each with a
mass distribution that is uniform between two cutoffs given by the parameters
`MLO` and `MHI`
[for example see L S Finn, Phys Rev Lett **73** 1878 (1994)].

The amplitude distribution corresponds to the (time dependent) model
described for the GRASP routine `mc_chirp()`. The initial phase is
uniformly distributed. The parameters `LAT`, `LON`, and
`ARM` correspond to the latitude, longitude, and arm orientation of the
detector, and are required for the model.

The injection time is either at a fixed intervals given by parameter
`INV_RATE`
(when parameter `FIXED`=1), or at random intervals corresponding to a
Poisson process with inverse rate `INV_RATE` (when `FIXED`=0).
Injection times are between the start and the end of the data run specified
by the environment variable `GRASP_DATAPATH`. The start and end times
of this data run are obtained from code resembling that in program
`locklist`. If two chirps potentially occur within the same data
segment (with length given by parameter `NPOINT`), a warning message is
printed.

The results are output to stdout in a list containing the arrival time
(double), the two masses (floats), the amplitude--inverse Mpc distance
(float), and the initial phase (float), separated by spaces. This is the
same format as required for the file `insert.ascii` which is read by
the `binary_get_data()` routine in the `binary_search` code.

**Author:**
- Jolien Creighton, jolien@tapir.caltech.edu

Includes/inject.tex

** Next:** Binary Inspiral Search on
** Up:** Galactic Modelling
** Previous:** Function: mc_chirp()
** Contents**
Bruce Allen
2000-11-19