Astro::FITS::HdrTrans::LCOSBIG_0m4 - LCO 0.4m SBIG translations
use Astro::FITS::HdrTrans::LCOSBIG_0m4; %gen = Astro::FITS::HdrTrans::LCOSBIG_0m4->translate_from_FITS( %hdr );
This class provides a generic set of translations that are specific to 0.4m SBIGs at LCO.
The name of the instrument required to match (case insensitively) against the INSTRUME/INSTRUMENT keyword to allow this class to translate the specified headers. Called by the default can_translate method.
can_translate
$inst = $class->this_instrument();
Returns "LCOSBIG".
These methods are more complicated than a simple mapping. We have to provide both from- and to-FITS conversions All these routines are methods and the to_ routines all take a reference to a hash and return the translated value (a many-to-one mapping) The from_ methods take a reference to a generic hash and return a translated hash (sometimes these are many-to-many)
Sets the declination scale in arcseconds per pixel. The PIXSCALE is used when it's defined. Otherwise it returns a default value of 0.5710 arcsec/pixel, multiplied by YBINNING assuming this is defined
PIXSCALE
YBINNING
Sets the declination telescope offset in arcseconds. It uses the CAT-DEC and DEC keywords to derive the offset, and if either does not exist, it returns a default of 0.0.
CAT-DEC
DEC
Sets the RA scale in arcseconds per pixel. The PIXSCALE is used when it's defined. Otherwise it returns a default value of 0.5710 arcsec/pixel, multiplied by XBINNING assuming this is defined (1.0 otherwise)
XBINNING
Sets the right-ascension telescope offset in arcseconds. It uses the CAT-RA, RA, CAT-DEC keywords to derive the offset, and if any of these keywords does not exist, it returns a default of 0.0.
CAT-RA
RA
Returns the lower bound along the X-axis of the area of the detector as a pixel index.
Returns the upper bound along the X-axis of the area of the detector as a pixel index.
Returns the lower bound along the Y-axis of the area of the detector as a pixel index.
Returns the upper bound along the Y-axis of the area of the detector as a pixel index.
Astro::FITS::HdrTrans, Astro::FITS::HdrTrans::LCO.
Astro::FITS::HdrTrans
Astro::FITS::HdrTrans::LCO
Tim Lister <tlister@lcogt.net>
To install Astro::FITS::HdrTrans, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Astro::FITS::HdrTrans
CPAN shell
perl -MCPAN -e shell install Astro::FITS::HdrTrans
For more information on module installation, please visit the detailed CPAN module installation guide.