This routine takes the site geometry described in the LALFrDetector structure, along with a LALDetectorType parameter, and constructs the Cartesian detector location and response tensor needed to fill the LALDetector output.
The detector type is needed because different types of detectors have
different response tensors. In each case the response tensor is
determined by the unit vectors
and
which are constant in an Earth-fixed rotating reference frame and
point in the ``X arm'' and ``Y arm'' directions, respectively; the
headings of these directions in a local frame at the detector are
stored in the LALFrDetector structure.
The detector types recognized are (all names are prefaced by LALDETECTORTYPE_):
In each of these cases, the basic transformation needed is to express a
unit vector
in terms of its
components in the Earth-fixed basis
. The altitude angle
and
azimuth angle
allow us to express the unit vector
corresponding to a direction in terms of an orthonormal basis consisting
of a vector
pointing due East within the
local horizontal, a vector
pointing due
North within the local horizontal, and an upward-pointing vector
normal to the local horizontal
plane.22.1 The relationship
is
| (22.5) |
| (22.6) | |||
| (22.7) | |||
| (22.8) |
| (22.9) | |||
| (22.10) | |||
| (22.11) |
To express
in the Cartesian basis, we need
,
, and
. We first observe that
| (22.15) | |||
| (22.16) | |||
| (22.17) |