#include <math.h>
#include <gsl/gsl_block.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_integration.h>
#include <lal/DetectorStates.h>
#include <lal/PulsarTimes.h>
#include <lal/FlatPulsarMetric.h>
Include dependency graph for FlatPulsarMetric.c:

Go to the source code of this file.
Data Structures | |
| struct | cov_params_t |
Defines | |
| #define | TRUE (1==1) |
| #define | FALSE (1==0) |
Enumerations | |
| enum | component_t { COMP_RX = -2, COMP_RY = -1, COMP_S0, COMP_S1, COMP_S2, COMP_S3, COMP_LAST } |
Functions | |
| NRCSID (FLATPULSARMETRICC,"$Id: FlatPulsarMetric.c,v 1.4 2008/04/30 18:53:06 kipp Exp $") | |
| double | Phi_i (double ti, void *params) |
| double | Phi_i_Phi_j (double ti, void *params) |
| REAL8 | cov_Phi_ij (const cov_params_t *params) |
| int | XLALFlatMetricCW (gsl_matrix *gij, LIGOTimeGPS refTime, LIGOTimeGPS startTime, REAL8 Tspan, const EphemerisData *edat) |
| Compute a flat approximation for the continuous-wave metric (by neglecting the z-motion of the detector in ecliptic coordinates. | |
| void | LALFlatPulsarMetric (LALStatus *status, REAL8Vector **metric, LIGOTimeGPS startTime, REAL8 duration, const LALDetector *site) |
| [OBSOLETE?] Compute the constant-coefficient approximate pulsar-metric. | |
Variables | |
| LALStatus | empty_status |
Definition in file FlatPulsarMetric.c.
| #define TRUE (1==1) |
Definition at line 49 of file FlatPulsarMetric.c.
| #define FALSE (1==0) |
Definition at line 50 of file FlatPulsarMetric.c.
| enum component_t |
Definition at line 55 of file FlatPulsarMetric.c.
| NRCSID | ( | FLATPULSARMETRICC | , | |
| "$Id: FlatPulsarMetric. | c, | |||
| v 1.4 2008/04/30 18:53:06 kipp Exp $" | ||||
| ) |
| double Phi_i | ( | double | ti, | |
| void * | params | |||
| ) |
Definition at line 165 of file FlatPulsarMetric.c.
| double Phi_i_Phi_j | ( | double | ti, | |
| void * | params | |||
| ) |
Definition at line 144 of file FlatPulsarMetric.c.
| REAL8 cov_Phi_ij | ( | const cov_params_t * | params | ) |
Definition at line 87 of file FlatPulsarMetric.c.
| int XLALFlatMetricCW | ( | gsl_matrix * | gij, | |
| LIGOTimeGPS | refTime, | |||
| LIGOTimeGPS | startTime, | |||
| REAL8 | Tspan, | |||
| const EphemerisData * | edat | |||
| ) |
Compute a flat approximation for the continuous-wave metric (by neglecting the z-motion of the detector in ecliptic coordinates.
gij has to be an allocated symmetric matrix of dimension dim: the order of coordinates is
, but dim must be at least 3 and maximally 6 (Freq + 2 sky + 3 spin-downs) The dimensionless coordinates are defined as
in terms of the observation time
, and
, where
is the orbital radius (AU).
| gij | [out] metric |
| refTime | [in] reference time for spin-parameters |
| startTime | [in] startTime |
| Tspan | [in] total observation time spanned |
| edat | [in] ephemeris data |
Definition at line 227 of file FlatPulsarMetric.c.
| void LALFlatPulsarMetric | ( | LALStatus * | status, | |
| REAL8Vector ** | metric, | |||
| LIGOTimeGPS | startTime, | |||
| REAL8 | duration, | |||
| const LALDetector * | site | |||
| ) |
[OBSOLETE?] Compute the constant-coefficient approximate pulsar-metric.
The returned metric symmetric matrix
is encoded in a 1D vector
in the same way as in LALPulsarMetric(), namely:
, where for
the vector-index
is
.
The (dimensionless) parameter-space coordinates (and their order) are:
, defined as
where
m is the orbital radius,
is the frequency,
is the unit-vector pointing to a sky-location,
is the observation time and
is the s-th time-derivative of the frequency.
The two cartesian coordinate-directions
are referring to the ecliptic cartesian reference-frame.
| metric | [out] constant pulsar-metric |
| startTime | start time of observation |
| duration | duration of observation in seconds |
| site | [in] detector location |
Definition at line 338 of file FlatPulsarMetric.c.
Definition at line 75 of file FlatPulsarMetric.c.
1.5.2