#include <math.h>
#include <stdlib.h>
#include <gsl/gsl_matrix.h>
#include <lal/AVFactories.h>
#include <lal/DetectorSite.h>
#include <lal/LALStdlib.h>
#include <lal/PtoleMetric.h>
#include <lal/PulsarTimes.h>
#include <lal/StackMetric.h>
Include dependency graph for PtoleMetric.c:

Go to the source code of this file.
Defines | |
| #define | MIN_DURATION (LAL_DAYSID_SI/LAL_TWOPI) |
| #define | MIN_MAXFREQ 1. |
Functions | |
| NRCSID (PTOLEMETRICC,"$Id: PtoleMetric.c,v 1.32 2007/11/09 18:02:58 kwwette Exp $") | |
| void | LALPtoleMetric (LALStatus *status, REAL8Vector *metric, PtoleMetricIn *input) |
| void | LALPulsarMetric (LALStatus *stat, REAL8Vector **metric, PtoleMetricIn *input) |
| Unified "wrapper" to provide a uniform interface to LALPtoleMetric() and LALCoherentMetric(), from DopplerScan.c, written by Reinhard Prix. | |
| int | XLALFindMetricDim (const REAL8Vector *metric) |
| Figure out dimension of a REAL8Vector-encoded (see PMETRIC_INDEX) metric. | |
| gsl_matrix * | XLALSpindownMetric (UINT4 dimension, REAL8 Tspan) |
| Frequency and frequency derivative components of the metric, suitable for a directed search with only one fixed sky position. | |
I., Owen, B. J., and Whitbeck, D. M.
The function LALGetEarthTimes() is used to calculate the spin and rotational phase of the Earth at the beginning of the observation.
On output, the metric->data is arranged with the same indexing scheme as in LALCoherentMetric(). The order of the parameters is
.
At present, only one spindown parameter can be included with the sky location. The code contains (commented out) expressions for spindown-spindown metric components for an arbitrary number of spindowns, but the (commented out) spindown-sky components neglect orbital motion. A separate routine, XLALSpindownMetric(), has been added to compute the metric for multiple spindowns but for fixed sky position, suitable for e.g. directed searches.
Definition in file PtoleMetric.c.
| #define MIN_DURATION (LAL_DAYSID_SI/LAL_TWOPI) |
Definition at line 99 of file PtoleMetric.c.
| #define MIN_MAXFREQ 1. |
Definition at line 101 of file PtoleMetric.c.
| NRCSID | ( | PTOLEMETRICC | , | |
| "$Id: PtoleMetric. | c, | |||
| v 1.32 2007/11/09 18:02:58 kwwette Exp $" | ||||
| ) |
| void LALPtoleMetric | ( | LALStatus * | status, | |
| REAL8Vector * | metric, | |||
| PtoleMetricIn * | input | |||
| ) |
Definition at line 106 of file PtoleMetric.c.
| void LALPulsarMetric | ( | LALStatus * | stat, | |
| REAL8Vector ** | metric, | |||
| PtoleMetricIn * | input | |||
| ) |
Unified "wrapper" to provide a uniform interface to LALPtoleMetric() and LALCoherentMetric(), from DopplerScan.c, written by Reinhard Prix.
The parameter structure of LALPtoleMetric() was used, because it's more compact
Definition at line 649 of file PtoleMetric.c.
| int XLALFindMetricDim | ( | const REAL8Vector * | metric | ) |
Figure out dimension of a REAL8Vector-encoded (see PMETRIC_INDEX) metric.
Return error if input-vector is NULL or not consistent with a quadratic matrix
Definition at line 798 of file PtoleMetric.c.
Frequency and frequency derivative components of the metric, suitable for a directed search with only one fixed sky position.
The units are those expected by ComputeFstat. This routine allocates a gsl_matrix which should be freed with gsl_matrix_free.
| dimension | [in] Dimension of the metric |
| Tspan | [in] Time span of the data set |
Definition at line 834 of file PtoleMetric.c.
1.5.2