Velocity.c File Reference

Author:
Badri Krishnan and Alicia Sintes Functions for calculating detector velocity and positions at a given time or averaged over a time interval. This is a wrapper for the LALBarycenter routines.
More...

#include <lal/Velocity.h>

Include dependency graph for Velocity.c:

Go to the source code of this file.

Functions

 NRCSID (VELOCITYC,"$Id: Velocity.c,v 1.11 2006/02/11 09:45:11 badri Exp $")
void LALAvgDetectorVel (LALStatus *status, REAL8 v[3], VelocityPar *in)
 Given a detector and a time interval, this function outputs the average velocity of the detector delta x/delta t during the interval.
void LALAvgDetectorPos (LALStatus *status, REAL8 x[3], VelocityPar *in)
 Given a detector and a time interval, this function outputs the average position of the detector during the interval by using the trapeziodal rule for a given fractional accuracy.
void LALDetectorVel (LALStatus *status, REAL8 v[3], LIGOTimeGPS *time0, LALDetector detector, EphemerisData *edat)
 This finds velocity of a given detector at a given time This finds velocity of a given detector at a given time.
void LALDetectorPos (LALStatus *status, REAL8 x[3], LIGOTimeGPS *time0, LALDetector detector, EphemerisData *edat)


Detailed Description

Author:
Badri Krishnan and Alicia Sintes Functions for calculating detector velocity and positions at a given time or averaged over a time interval. This is a wrapper for the LALBarycenter routines.

Id
Velocity.c,v 1.11 2006/02/11 09:45:11 badri Exp

The function LALDetectorVel() finds the velocity of a given detector at a given time. It is basically a wrapper for LALBarycenter. The output is of the form REAL8 vector v[3] and the input is a time LIGOTimeGPS , the detector LALDetector, and the ephemeris EphemerisData from LALInitBarycenter.

The function LALAvgDetectorVel() outputs the average velocity REAL8 v[3] of the detector during a time interval. The input structure is of type VelocityPar containing all the required parmaters.

The analogous functions for calculating the average position and position are LALAvgDetectorPos() and LALDetectorPos(). The average position is calculated by a numerical integration using the trapezoidal rule with a user-specified fractional accuracy.

Definition in file Velocity.c.


Function Documentation

NRCSID ( VELOCITYC  ,
"$Id: Velocity.  c,
v 1.11 2006/02/11 09:45:11 badri Exp $"   
)

void LALAvgDetectorVel ( LALStatus status,
REAL8  v[3],
VelocityPar in 
)

Given a detector and a time interval, this function outputs the average velocity of the detector delta x/delta t during the interval.

Parameters:
v  [out] velocity vector
in  [in] input parameter structure

Definition at line 115 of file Velocity.c.

void LALAvgDetectorPos ( LALStatus status,
REAL8  x[3],
VelocityPar in 
)

Given a detector and a time interval, this function outputs the average position of the detector during the interval by using the trapeziodal rule for a given fractional accuracy.

Definition at line 177 of file Velocity.c.

void LALDetectorVel ( LALStatus status,
REAL8  v[3],
LIGOTimeGPS time0,
LALDetector  detector,
EphemerisData edat 
)

This finds velocity of a given detector at a given time This finds velocity of a given detector at a given time.

Definition at line 278 of file Velocity.c.

void LALDetectorPos ( LALStatus status,
REAL8  x[3],
LIGOTimeGPS time0,
LALDetector  detector,
EphemerisData edat 
)

Definition at line 336 of file Velocity.c.


Generated on Mon Oct 13 02:33:16 2008 for LAL by  doxygen 1.5.2