|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.CommandLineParser
astro.RaDeParser
astro.HeliocentricJulianDate
public class HeliocentricJulianDate
Command line tool to calculate a heliocentric julian date from FITS header keywords or from command line options.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.CommandLineParser |
|---|
CommandLineParser.Test |
| Field Summary | |
|---|---|
static String |
DATE_OBS
The header keyword for obs. |
static String |
DEC
Pointing of telescope, if OBJDEC not found. |
private static String |
FOOT
A footer message. |
static String |
OBJDEC
The header keyword for the object de, deg. |
static String |
OBJEQUIN
The equinox of the catalog, years. |
static String |
OBJPMDEC
The header keyword for the object proper motion in de, mas/yr. |
static String |
OBJPMRA
The header keyword for the object proper motion in ra, mas/yr. |
static String |
OBJRA
The header keyword for the object ra, deg. |
private static String |
ONE
The command line switches. |
static String |
RA
Pointing of telescope, if OBJRA not found. |
static String |
TIME_OBS
The header keyword for obs. |
| Fields inherited from class astro.RaDeParser |
|---|
USE |
| Constructor Summary | |
|---|---|
HeliocentricJulianDate()
We constrcut a new HeliocentricJulianDate parser. |
|
| Method Summary | |
|---|---|
static void |
main(String[] arg)
Tries to read fits header data and prints out the hjd. |
double |
process(String[] arg)
Reads the command line and parses object ra,dec out of it. |
| Methods inherited from class astro.RaDeParser |
|---|
getRaDe |
| Methods inherited from class util.CommandLineParser |
|---|
getArguments, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OBJRA
public static final String OBJDEC
public static final String OBJPMRA
public static final String OBJPMDEC
public static final String OBJEQUIN
public static final String RA
public static final String DEC
public static final String DATE_OBS
public static final String TIME_OBS
private static final String ONE
private static final String FOOT
| Constructor Detail |
|---|
public HeliocentricJulianDate()
| Method Detail |
|---|
public double process(String[] arg)
throws ParseException
ParseException
public static void main(String[] arg)
throws ParseException
ParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||