Package jsky.coords

Contains classes for World Coordinate System transformations.

See:
          Description

Interface Summary
CoordinateConverter This interface may be implemented by classes that display images and can convert between different coordinate systems, optionally including world coordinates.
Coordinates Abstract interface for coordinates.
WCSKeywordProvider A simple interface for accessing FITS/WCS keywords.
WorldCoordinateConverter This defines the interface for converting between image and world coordinates.
WorldCoordinates Interface for representing world coordinates (right-ascension, declination, stored as J2000 internally).
 

Class Summary
CoordinateRadius Represents a generic center coordinate and radius range (or width and height), Some methods are provided to check if another coordinate point lies within the range.
Cotr Based on C routintes by Francois Ochsenbein [ESO-IPG].
DMS Class representing a value of the form "deg:min:sec".
HMS Class representing a value of the form "hours:min:sec".
ImageCoords Class representing world coordinates (right-ascension, ylination, stored as J2000 internally).
JPrec Precession of Coordinates in new IAU system.
NamedCoordinates Simple class containing an object name, its coordinates, and the brightness, if known.
platepos  
SiteDesc A simple class containing a telescope site name, it's coordinates, and time zone.
slasubs  
TargetDesc A simple class describing a target object and some related information.
Trigod Trigonometric Function in degrees.
wcscon  
WCSTransform A port of pieces of the WCSTools library version 2.6, originally written in C.
WorldCoords Class representing world coordinates (right-ascension, declination, stored as J2000 internally).
worldpos  
 

Package jsky.coords Description

Contains classes for World Coordinate System transformations. Currently this package consists of ports of pieces of the WCSTOOLS library originally written in C. The main purpose of these classes is to do WCS to/from image pixel conversions, and so only those WCSTOOLS files necessary to achieve this were ported. In addition to porting files from WCSTOOLS, enhancements were made to hook the code to Tom McGlynn's FITS I/O classes (via the nom.tam.fits.Header class) so that the required FITS header information is automatically extracted from the FITS file.

Future Work

Note that since this package was written, other potentially better solutions have been created by other people. Mark Calabretta's WCSLIB library (used by WCSTOOLS), for example, has been ported to Java. The NCSA Horizon project has also done some interesting work in coordinate system conversions. Possibly in the future we might reevaluate this package and choose to use one of the other libraries instead.