aboutsummaryrefslogtreecommitdiff
path: root/astro/p5-Astro-WaveBand
Commit message (Collapse)AuthorAgeFilesLines
* - Update to 0.09Sunpoet Po-Chuan Hsieh2014-02-142-3/+3
| | | | | | | Changes: http://search.cpan.org/dist/Astro-WaveBand/ChangeLog Notes: svn path=/head/; revision=344199
* - Support STAGEDIRSunpoet Po-Chuan Hsieh2013-11-152-3/+1
| | | | Notes: svn path=/head/; revision=333825
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-0/+1
| | | | | | | astro) Notes: svn path=/head/; revision=327701
* - Cleanup Makefile headerSunpoet Po-Chuan Hsieh2013-08-211-5/+1
| | | | Notes: svn path=/head/; revision=325163
* - Convert to new perl frameworkSunpoet Po-Chuan Hsieh2013-08-211-1/+2
| | | | Notes: svn path=/head/; revision=325134
* Fix typos in COMMENTCarlo Strub2012-07-251-1/+1
| | | | Notes: svn path=/head/; revision=301510
* - Add p5-Astro-WaveBand 0.08Sunpoet Po-Chuan Hsieh2012-07-104-0/+49
Class to transparently deal with the conversion between filters, wavelength, frequency and other methods of specifying a location in the electro-magentic spectrum. Astro::WaveBand tries to determine the natural form of the numbers such that a request for a summary of the object when it contains 2.2 microns would return the filter name but would return the wavelength if it was not a standard filter. In ambiguous cases an instrument name is required to decide what to return. In really ambiguous cases the user can specify the unit in which to display the numbers on stringification. Used mainly as a way of storing a single number in a database table but using logic to determine the number that an observer is most likely to understand. Numerical comparison operators can be used to compare two Astro::WaveBand objects. When checking equality, the "natural" and "instrument" methods are used, so if two Astro::WaveBand objects return the same value from those methods, they are considered to be equal. When checking other comparisons such as greater than, the wavelength is used. WWW: http://search.cpan.org/dist/Astro-WaveBand/ Notes: svn path=/head/; revision=300707