#include <gsl/gsl_block.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <lal/LALStdlib.h>
#include <lal/LALDatatypes.h>
#include <lal/AVFactories.h>
#include <lal/DetectorSite.h>
#include <lal/DetectorStates.h>
#include <lal/PtoleMetric.h>
Include dependency graph for FlatPulsarMetric.h:

Go to the source code of this file.
Defines | |
| #define | SIN_EPS 0.3977771557 |
| sin(LAL_IEARTH) | |
| #define | COS_EPS 0.9174820622 |
| cos(LAL_IEARTH) | |
| #define | FLATPULSARMETRIC_ENULL 1 |
| #define | FLATPULSARMETRIC_ENONULL 2 |
| #define | FLATPULSARMETRIC_EMEM 3 |
| #define | FLATPULSARMETRIC_EINPUT 4 |
| #define | FLATPULSARMETRIC_ELIST 5 |
| #define | FLATPULSARMETRIC_EFUNC 6 |
| #define | FLATPULSARMETRIC_MSGENULL "Arguments contained an unexpected null pointer" |
| #define | FLATPULSARMETRIC_MSGENONULL "Output pointer is not NULL" |
| #define | FLATPULSARMETRIC_MSGEMEM "Out of memory" |
| #define | FLATPULSARMETRIC_MSGEINPUT "Invald input parameter" |
| #define | FLATPULSARMETRIC_MSGELIST "Error occurred in list-handling ..." |
| #define | FLATPULSARMETRIC_MSGEFUNC "Sub-routine failed" |
Functions | |
| NRCSID (FLATPULSARMETRICH,"$Id: FlatPulsarMetric.h,v 1.1 2007/10/26 16:03:01 reinhard Exp $") | |
| 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 *, REAL8Vector **metric, LIGOTimeGPS startTime, REAL8 duration, const LALDetector *site) |
| [OBSOLETE?] Compute the constant-coefficient approximate pulsar-metric. | |
Definition in file FlatPulsarMetric.h.
| #define SIN_EPS 0.3977771557 |
| #define COS_EPS 0.9174820622 |
| #define FLATPULSARMETRIC_ENULL 1 |
Definition at line 59 of file FlatPulsarMetric.h.
| #define FLATPULSARMETRIC_ENONULL 2 |
Definition at line 60 of file FlatPulsarMetric.h.
| #define FLATPULSARMETRIC_EMEM 3 |
Definition at line 61 of file FlatPulsarMetric.h.
| #define FLATPULSARMETRIC_EINPUT 4 |
Definition at line 62 of file FlatPulsarMetric.h.
| #define FLATPULSARMETRIC_ELIST 5 |
Definition at line 63 of file FlatPulsarMetric.h.
| #define FLATPULSARMETRIC_EFUNC 6 |
Definition at line 64 of file FlatPulsarMetric.h.
| #define FLATPULSARMETRIC_MSGENULL "Arguments contained an unexpected null pointer" |
Definition at line 66 of file FlatPulsarMetric.h.
| #define FLATPULSARMETRIC_MSGENONULL "Output pointer is not NULL" |
Definition at line 67 of file FlatPulsarMetric.h.
| #define FLATPULSARMETRIC_MSGEMEM "Out of memory" |
Definition at line 68 of file FlatPulsarMetric.h.
| #define FLATPULSARMETRIC_MSGEINPUT "Invald input parameter" |
Definition at line 69 of file FlatPulsarMetric.h.
| #define FLATPULSARMETRIC_MSGELIST "Error occurred in list-handling ..." |
Definition at line 70 of file FlatPulsarMetric.h.
| #define FLATPULSARMETRIC_MSGEFUNC "Sub-routine failed" |
Definition at line 71 of file FlatPulsarMetric.h.
| NRCSID | ( | FLATPULSARMETRICH | , | |
| "$Id: FlatPulsarMetric. | h, | |||
| v 1.1 2007/10/26 16:03:01 reinhard Exp $" | ||||
| ) |
| 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.
1.5.2