next up previous contents
Next: Vetoing techniques for ringdown Up: GRASP Routines: Black hole Previous: Function: find_ring()   Contents

Function: qn_inject()

void qn_inject(float *strain, float *signal, float *response, float *work,
               float invMpc, int off, int n, int len)
This routine injects a signal $s(t)$, normalized to a specified distance, into the strain data $h(t)$, with some specified time offset. The arguments to the routine are:
strain: Input/Output. The array strain[0..n-1] containing the strain data on input, and the strain data plus the input signal on output.
signal: Input. The array signal[0..len-1] containing the signal, in strain units at 1 Mpc distance, to be input into the strain data stream.
response: Input. The array response[0..n+1] containing the response function $R(f)$ of the IFO.
work: Output. A working array work[0..n-1].
invMpc: Input. The inverse distance of the system, measured in 1/Mpc, to be used in normalizing the signal.
off: Input. The offset number of samples (in the time domain) at which the injected signal starts.
n: Input. Defines the length of the arrays strain[0..n-1], work[0..n-1], and response[0..n+1].
len: Input. Defines the length of the array signal[0..len-1].

Author: Jolien Creighton, jolien@tapir.caltech.edu
Comments: See the description of the routine time_inject().


next up previous contents
Next: Vetoing techniques for ringdown Up: GRASP Routines: Black hole Previous: Function: find_ring()   Contents
Bruce Allen 2000-11-19