Astro::FITS::HdrTrans::LCOSBIG_CC - LCO Context Camera SBIG translations
use Astro::FITS::HdrTrans::LCOSBIG_CC; %gen = Astro::FITS::HdrTrans::LCOSBIG_CC->translate_from_FITS( %hdr );
This class provides a generic set of translations that are specific to Context Camera 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.2320 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
Concatenate the individual FILTERx keywords together, minus any that say "air"
FILTERx
Sets the RA scale in arcseconds per pixel. The PIXSCALE is used when it's defined. Otherwise it returns a default value of 0.2320 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.
$Id: LCOSBIG_CC.pm 5661 2012-05-10 17:29:10Z tlister $
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.