FlatPulsarMetric.c File Reference

Author:
Reinhard Prix Calculate flat approximation to the pulsar-metric.
More...

#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


Detailed Description

Author:
Reinhard Prix Calculate flat approximation to the pulsar-metric.

Date:
2005, 2006
Id
FlatPulsarMetric.c,v 1.4 2008/04/30 18:53:06 kipp Exp

Definition in file FlatPulsarMetric.c.


Define Documentation

#define TRUE   (1==1)

Definition at line 49 of file FlatPulsarMetric.c.

#define FALSE   (1==0)

Definition at line 50 of file FlatPulsarMetric.c.


Enumeration Type Documentation

enum component_t

Enumerator:
COMP_RX 
COMP_RY 
COMP_S0 
COMP_S1 
COMP_S2 
COMP_S3 
COMP_LAST 

Definition at line 55 of file FlatPulsarMetric.c.


Function Documentation

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 $[ \omega_0, \tilde{n}_x, \tilde{n}_y, \omega_1, \omega_2, ... ]$, but dim must be at least 3 and maximally 6 (Freq + 2 sky + 3 spin-downs) The dimensionless coordinates are defined as $\omega_s \equiv 2\pi \, f^{(s)}\, T^{s+1} / (s+1)!$ in terms of the observation time $T$, and $\tilde{n}_l \equiv 2\pi \bar{f} \hat{n} R_{orb} / c$, where $R_{orb}$ is the orbital radius (AU).

Parameters:
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 $g_{\alpha \beta}$ is encoded in a 1D vector $v_l$ in the same way as in LALPulsarMetric(), namely: $g_{\alpha \beta} = v_l$, where for $\alpha<=\beta$ the vector-index $l$ is $l = \alpha + \beta \,(\beta + 1)/2$.

The (dimensionless) parameter-space coordinates (and their order) are: $\{ \kappa^X, \kappa^Y, \varpi_0, \varpi_1, \varpi_2, ...\}$, defined as

\[ \kappa^i \equiv R_{ES} {2\pi \over c} f \, n^i\,, \]

\[ \varpi_s \equiv T^{s+1}\, 2\pi f^{(s)}\, \]

where $R_{ES} = 1\,\textrm{AU} \sim 1.5\times10^{11}$ m is the orbital radius, $f$ is the frequency, $n^i$ is the unit-vector pointing to a sky-location, $T$ is the observation time and $f^{(s)}$ is the s-th time-derivative of the frequency.

The two cartesian coordinate-directions $X, Y$ are referring to the ecliptic cartesian reference-frame.

Parameters:
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.


Variable Documentation

LALStatus empty_status

Definition at line 75 of file FlatPulsarMetric.c.


Generated on Sat Sep 6 03:08:02 2008 for LAL by  doxygen 1.5.2