mhuss utils 1.1.5ws

com.mhuss.AstroLib
Class AtlasRef

java.lang.Object
  extended by com.mhuss.AstroLib.AtlasRef

public class AtlasRef
extends java.lang.Object

AtlasRef is a class that figures out which page in a number of atlases best show the given RA and Dec.

It also supports the Rukl lunar atlas given a lunar latitude and longitude.


Constructor Summary
AtlasRef()
           
 
Method Summary
static int millenniumAtlasPage(double ra, double dec)
          This function returns the page number in the Millennium Star Atlas that best shows the location specified.
static java.lang.String ruklPage(double lon, double lat)
          This function returns the page number in Rukl that best shows the lunar location specified.
static int skyAtlasPage(double ra, double dec)
          This function returns the page number in Sky Atlas 2000 page that best shows the location specified.
static int uranometriaPage(double ra, double dec)
          This function returns the page number in the original edition of Uranometria that best shows the location specified.
static int uranometriaPage(double ra, double dec, boolean fix472)
          This function returns the page number in Uranometria that best shows the location specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtlasRef

public AtlasRef()
Method Detail

millenniumAtlasPage

public static int millenniumAtlasPage(double ra,
                                      double dec)
This function returns the page number in the Millennium Star Atlas that best shows the location specified.

Parameters:
ra - Right ascension in decimal hours
dec - Declination in decimal degrees
Returns:
The appropriate Millenium Atlas page

skyAtlasPage

public static int skyAtlasPage(double ra,
                               double dec)
This function returns the page number in Sky Atlas 2000 page that best shows the location specified.

Parameters:
ra - Right ascension in decimal hours
dec - Declination in decimal degrees
Returns:
The appropriate Sky Atlas 2000 page

uranometriaPage

public static int uranometriaPage(double ra,
                                  double dec,
                                  boolean fix472)
This function returns the page number in Uranometria that best shows the location specified.

Parameters:
ra - Right ascension in decimal hours
dec - Declination in decimal degrees
fix472 - True to swap charts 472 and 473 (needed in original edition)
Returns:
The appropriate Uranometria page

uranometriaPage

public static int uranometriaPage(double ra,
                                  double dec)
This function returns the page number in the original edition of Uranometria that best shows the location specified.

Parameters:
ra - Right ascension in decimal hours
dec - Declination in decimal degrees
Returns:
The appropriate Uranometria page

ruklPage

public static java.lang.String ruklPage(double lon,
                                        double lat)
This function returns the page number in Rukl that best shows the lunar location specified. Returns a String to accomodate Rukl's roman numeral libration pages.

Parameters:
lon - lunar longitude
lat - lunar latitude
Returns:
The appropriate Rukl page

mhuss utils 1.1.5ws

bottom text