Constructor. Recognizes hash keys ha, dec and az, el.
Usually called via Astro::Coords rather than directly.
Note that the declination is equivalent to Apparent Dec used elsewhere in these classes.
Azimuth and Elevation is the internal format. Currently there is no caching (so there is always overhead converting to apparent RA and Dec) since there is no cache flushing when the telescope is changed.
A name can be associated with this position.
<B>azelB> Return azimuth and elevation (as two Astro::Coords::Angle objects);
($az, $el) = $c->azel;
Can also be used to store the azimuth and elevation (as Astro::Coords::Angle objects)
$c->_azel( $az, $el);
<B>typeB> Returns the generic type associated with the coordinate system. For this class the answer is always FIXED.
This is used to aid construction of summary tables when using mixed coordinates.
<B>stringifyB> Returns a string representation of the object. Returns Azimth and Elevation in degrees. <B>summaryB> Return a one line summary of the coordinates. In the future will accept arguments to control output.
$summary = $c->summary();
<B>arrayB> Array summarizing the object. Retuns Return back 11 element array with first 3 elements being the coordinate type (FIXED) and the az/el coordinates (radians).
This method returns a standardised set of elements across all types of coordinates.
<B>haB> Get the hour angle for the currently stored LST. By default returns format as for other angular methods.
$ha = $c->ha; $ha = $c->ha( format => "deg" );
<B>apparentB> Return the apparent RA and Dec (as two Astro::Coords::Angle objects) for the current time [note that the apparent declination is fixed and the apparent RA changes].
If no telescope is present the equator is used.
<B>hadecB> Return the Hour angle and apparent declination (as two Astro::Coords::Angle objects). If no telescope is present the equator is used.
($ha, $dec) = $c->hadec;
<B>ha_setB> For a fixed source, the setting Hour Angle has no meaning. <B>meridian_timeB> Meridian time is not defined for a fixed source. <B>transit_elB> Transit elevation is not defined for a fixed source. Always returns undef. <B>apply_offsetB> Overrided method to prevent Astro::Coords::apply_offset being called on this subclass.
Usually called via Astro::Coords.
Astro::PAL is used for all internal astrometric calculations.
Tim Jenness <firstname.lastname@example.org>
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
|perl v5.20.3||ASTRO::COORDS::FIXED (3)||2016-04-03|