Astro::Coords::Calibration - calibrations that do not have coordinates
$c = new Astro::Coords::Calibration();
Occasionally observations do not have any associated coordinates. In particular calibration observations such as DARKs and ARRAY TESTS do not require the telescope to be in any particular location. This class exists in order that these types of observation can be processed in similar ways to other observations (from a scheduling viewpoint calibration observations always are an available target).
This class inherits from
Simply instantiates an object with an Azimuth of 0.0 degrees and an elevation of 90 degrees. The exact values do not matter.
A label can be associated with the calibration (for example, to include the type).
$c = new Astro::Coords::Calibration( name => 'DARK' );
Return the coordinate type. In this case always return "CAL".
Returns a summary of the object in an 11 element array. All elements are undefined except the first. This contains "CAL".
Return a status string describing the current coordinates. For calibration objects this is very simple.
Determines whether the observation is observable. Since a calibration observation (defined as an observation that does not move the telescope) is always observable this methods always returns true.
Returns stringified summary of the object. Always returns the
Return a one line summary of the coordinates. In the future will accept arguments to control output.
$summary = $c->summary();
Overrided method to prevent
Astro::Coords::apply_offset being called on this subclass.
Usually called via
Astro::PAL is used for all internal astrometric calculations.
Tim Jenness <email@example.com>
Copyright (C) 2001-2005 Particle Physics and Astronomy Research Council. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place,Suite 330, Boston, MA 02111-1307, USA