com.mhuss.AstroLib
Class AtlasRef
- java.lang.Object
-
- com.mhuss.AstroLib.AtlasRef
-
public class AtlasRef extends java.lang.ObjectAtlasRef 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
Constructors Constructor and Description AtlasRef()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static intmillenniumAtlasPage(double ra, double dec)This function returns the page number in the Millennium Star Atlas that best shows the location specified.static java.lang.StringruklPage(double lon, double lat)This function returns the page number in Rukl that best shows the lunar location specified.static intskyAtlasPage(double ra, double dec)This function returns the page number in Sky Atlas 2000 page that best shows the location specified.static inturanometriaPage(double ra, double dec)This function returns the page number in the original edition of Uranometria that best shows the location specified.static inturanometriaPage(double ra, double dec, boolean fix472)This function returns the page number in Uranometria that best shows the location specified.
-
-
-
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 hoursdec- 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 hoursdec- 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 hoursdec- Declination in decimal degreesfix472- 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 hoursdec- 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 longitudelat- lunar latitude- Returns:
- The appropriate Rukl page
-
-
DMelt 3.0 © DataMelt by jWork.ORG