public class SightInfo extends PropertyContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
SightInfo.Print
A class to test the main astronomical info.
|
| Modifier and Type | Field and Description |
|---|---|
private static double |
DEFDURATION
Default instant duration.
|
private static double |
DEFHELIACALHEIGHT
Default heliacal height of target .
|
private static double |
DEFHELIACALSUN
Default heliacal height of sun .
|
static String |
KEY_DURATION
The minimal observing period.
|
static String |
KEY_HELIACALHEIGHT
The minimum allowed target height at the day of heliacal rise/set.
|
static String |
KEY_HELIACALSUN
The minimum allowed solar height at the day of heliacal rise/set.
|
static String |
KEY_LATITUDE
The latitude of the site.
|
private Star |
star
The star of the field, i.e.
|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
SightInfo(Map<String,String> prop)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCulminationHeight()
Returns culmination height in degree or NaN if not applicabale.
|
Date |
getHeliacalRise()
Returns the date in the current year when the target has its heliacal
rise, which means it is the first morning it is visible.
|
Date |
getHeliacalSet()
Returns the date in the current year when the target has its heliacal
set, which means it is the last evening it is visible.
|
double |
getObservableSpanInNight()
Returns the maximum observation span in seconds this target can acheive
in the night of opposition.
|
double |
getObservableSpanInYear()
Returns the days this target is visible in a year.
|
Date |
getOpposition()
Returns the date in the current year when the target is in opposition.
|
void |
setDuration(double tsec)
Sets the duration of the observation in seconds
|
void |
setHeliacalHeight(double htarget)
Sets the heliacal target height on rise and set.
|
void |
setHeliacalSunHeight(double h)
Sets the heliacal sun height on rise and set.
|
void |
setLatitude(double lat)
Sets the latitude of the sight info.
|
void |
setObject(Star rade)
Sets the object of the sight info.
|
augment, augment, augment, augment, augment, clone, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringpublic static final String KEY_HELIACALSUN
public static final String KEY_HELIACALHEIGHT
public static final String KEY_DURATION
public static final String KEY_LATITUDE
private static final double DEFHELIACALSUN
private static final double DEFHELIACALHEIGHT
private static final double DEFDURATION
private Star star
public void setLatitude(double lat)
public void setHeliacalSunHeight(double h)
public void setHeliacalHeight(double htarget)
public void setDuration(double tsec)
tsec - Minimum observing time in seconds.public void setObject(Star rade)
public double getCulminationHeight()
public double getObservableSpanInNight()
public double getObservableSpanInYear()
public Date getHeliacalRise()
KEY_HELIACALHEIGHT degrees above the
horizon, and the sun is at least KEY_HELIACALSUN degrees below
the horizon.public Date getHeliacalSet()
KEY_HELIACALHEIGHT degrees above the horizon,
and the sun is at least KEY_HELIACALSUN degrees below the
horizon.public Date getOpposition()