Astro:...ration(3pm)
π« NAME π«
Astro::Coords::Calibration β the coords class for calibrations that literally have no coordinates, bestie π«Ά
So this is a Perl module page (User Contributed Perl Documentation, iykyk), and it's the manual for a lil subclass that handles all the observations where the telescope just... stays put. Obsessed with the efficiency honestly. π
β¨ SYNOPSIS β¨
$c = new Astro::Coords::Calibration();
That's it. That's the whole vibe check. One line. She's low-maintenance. πΈ
π¦ DESCRIPTION π¦
Okay so picture this: every once in a while an observation shows up with no coordinates attached at all. Not a bug, not an oopsie β it's just that some observations genuinely don't care where the telescope is pointing. π
The big ones are calibration observations like DARKs and ARRAY TESTS β those bad boys do not require the telescope to be in any particular location whatsoever. No location, no coords, no problem. π
So why does this class even exist? Because we still want to process these observations the same way we process all the other ones. Scheduling brain, same shape. π§ β¨ And here's the iconic part: from a scheduling viewpoint, calibration observations are always an available target. Always available. Never flopping. Periodt. π
π METHODS π
Heads up bestie β this class inherits from Astro::Coords::Fixed. That's the family tree. π³
π Constructor
newβ literally just instantiates an object with an Azimuth of 0.0 degrees and an elevation of 90 degrees. And ngl, the exact values do not matter even a little bit. They're just there so the object has something. π
You can also slap a label on the calibration β super handy for including the type, for example:
$c = new Astro::Coords::Calibration( name => 'DARK' );
π General Methods
typeβ returns the coordinate type. In this case it always returns"CAL". Every time. No surprises. πarrayβ gives you a summary of the object packed into an 11 element array. Here's the tea: all the elements are undefined except the first one, and that first one contains"CAL". The other ten are just vibing in the void. πstatusβ returns a status string describing the current coordinates. For calibration objects this is very simple. Like, the simplest. Barely any lore. β¨isObservableβ tells you whether the observation is observable. And since a calibration observation (which is defined as an observation that does not move the telescope) is always observable, this method always returns true. Always. It's giving main character who never misses. πstringifyβ returns a stringified summary of the object. Always returns thetype(). Short and sweet, no notes. πsummaryβ returns a one line summary of the coordinates. And ooh, in the future it will accept arguments to control the output β like, future glow-up incoming, bookmark it. β
$summary = $c->summary();
apply_offsetβ this one's overrided on purpose, to preventAstro::Coords::apply_offsetfrom ever being called on this subclass. Not a bug, a boundary. π§π
π NOTES π
Usually called via Astro::Coords. So like, she's not usually the one picking up the phone first β she comes through the main line. π
π₯ REQUIREMENTS π₯
Astro::PAL is used for all internal astrometric calculations. Respect the backbone. π«‘
πΈ AUTHOR πΈ
Tim Jenness <tjenness@cpan.org>
Absolute legend. Iconic. No cap. π
π COPYRIGHT π
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
Fr fr bestie, take the license seriously β it's the one part you can't vibe your way around. π
Okay that's the whole page, mwah! π This lil beauty shipped with perl v5.42.2 and the doc is dated 2026-02-15 β so yeah, fresh-ish, adorable, and generated for Astro::Coords::Calibration(3pm). Go read the other coords pages, ily, bye! π§β¨
π¦ where this page comes from
- alpine 3.24: perl-astro-coords-doc 0.23-r1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms