#include <math.h>
#include <lal/LALStdlib.h>
#include <lal/StackMetric.h>
Include dependency graph for ProjectMetric.c:

Go to the source code of this file.
Functions | |
| NRCSID (PROJECTMETRICC,"$Id: ProjectMetric.c,v 1.5 2007/06/08 14:41:51 bema Exp $") | |
| void | LALProjectMetric (LALStatus *stat, REAL8Vector *metric, BOOLEAN errors) |
D.
, where
, and computes the projected metric
on the subspace
, as described in the header StackMetric.h.
The argument *metric stores the metric components in the manner used by the functions CoherentMetric() and StackMetric(), and errors indicates whether error estimates are included in *metric. Thus *metric is a vector of length
if errors is zero, or of length
if errors is nonzero; see CoherentMetric.c for the indexing scheme.
Upon return, *metric stores the components of
in the same manner as above, with the physically meaningless components
(and their uncertainties) set identically to zero.
in the metric components
into uncertainties
in
is:
Note that if the metric is highly degenerate, one may find that one or more projected components are comparable in magnitude to their estimated numerical uncertainties. This can occur when the observation times are very short or very long compared to the timescales over which the timing derivatives are varying. In the former case, one is advised to use analytic approximations or a different parameter basis. In the latter case, the degenerate components are often not relevant for data analysis, and can be effectively set to zero.
Technically, starting from a full metric
, the projection
is the metric of a subspace
passing through the point
on a plane orthogonal to the
axis. In order for
to measure the maximum distance between points
, it is important to evaluate
at the value of
that gives the largest possible separations. For the pulsar search formalism discussed in the header StackMetric.h, this is always achieved by choosing the largest value of
that is to be covered in the search.
Definition in file ProjectMetric.c.
| NRCSID | ( | PROJECTMETRICC | , | |
| "$Id: ProjectMetric. | c, | |||
| v 1.5 2007/06/08 14:41:51 bema Exp $" | ||||
| ) |
| void LALProjectMetric | ( | LALStatus * | stat, | |
| REAL8Vector * | metric, | |||
| BOOLEAN | errors | |||
| ) |
Definition at line 94 of file ProjectMetric.c.
1.5.2