|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.PropertyContainer
stella.parameter.AbstractParameter
stella.parameter.AbstractTargetParameter
stella.parameter.AbstractTargetValue
stella.parameter.RaTarget
stella.parameter.RaActual
public class RaActual
A general variable representing the ra of the actual object, precessed
to the current equinox.
Extends the RaTarget
base class. Needs the current jd and dec in 2000 equinox.
Parameters.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.PropertyContainer |
|---|
PropertyContainer.URLResource |
| Field Summary | |
|---|---|
private DecTarget |
de
The dec of the actual object as a Double. |
private static String |
DEFDEC
The name of the declination of the target to use. |
private static String |
DEFJD
The name of the julian date to use. |
private static String |
DEFPROPDEC
The name of the proper motion in de. |
private static String |
DEFPROPRA
The name of the proper motion in ra. |
private Value |
jd
The julian date. |
static String |
KEY_DEC
The name of the declination of the target to use. |
static String |
KEY_JD
The name of the julian date parameter. |
static String |
KEY_PROPDEC
The name of the proper motion in ra of the target to use. |
static String |
KEY_PROPRA
The name of the proper motion in ra of the target to use. |
private PropDecTarget |
pmde
The proper motion in de, arcsec/yr. |
private PropRaTarget |
pmra
The proper motion in ra, arcsec/yr. |
| Fields inherited from class stella.parameter.RaTarget |
|---|
DEFNAME, KEY_EPOCH |
| Fields inherited from class stella.parameter.AbstractTargetParameter |
|---|
KEY_INDEX |
| Fields inherited from class stella.parameter.AbstractParameter |
|---|
KEY_FORMAT, KEY_NAME, KEY_PRESERVE, UNKNOWN |
| Fields inherited from class util.PropertyContainer |
|---|
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_NOINITONCREATE, KEY_RESOURCEBUNDLES |
| Fields inherited from interface util.PropertyBearing |
|---|
CONFIG, KEY_CLASS, KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME |
| Constructor Summary | |
|---|---|
RaActual(Map prop)
Constructs a new global representing the actual object's ra. |
|
| Method Summary | |
|---|---|
double |
getEpoch()
Returns the current epoch in julian yeras. |
Number |
getForTarget(TargetDefinition star)
Gets the right ascension of the target star, precessed to current equinox. |
protected Number |
getUnprecessed()
Returns the catalog value. |
protected Number |
getUnprecessed(TargetDefinition star)
Returns the catalog value. |
Number |
getValue()
Returns the ra of the actual target. |
private Number |
precess(double alpha,
double delta,
double jul)
Precesses the right ascension to the jd given in the third parameter. |
void |
registerParameter(Parameter what)
Registers the required additional globals for the ra actual. |
void |
registerTarget(TargetDefinition star)
Registers a star to this parameter. |
double |
rescanned(String key,
String old,
String newval)
As any parameter depending instance we fail if the parameter we depend on is now a different one. |
| Methods inherited from class stella.parameter.RaTarget |
|---|
set, setValue |
| Methods inherited from class stella.parameter.AbstractTargetValue |
|---|
get |
| Methods inherited from class stella.parameter.AbstractTargetParameter |
|---|
getAsStar, getConstant, getFormattedFor, getSetup |
| Methods inherited from class stella.parameter.AbstractParameter |
|---|
createParameter, delivers, exit, getFormatted, getFormatted, getName, getPreserveFile, getString, getString, init, register, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface util.Reloadable |
|---|
reload |
| Methods inherited from interface stella.TargetDependingParameter |
|---|
getFormattedFor |
| Methods inherited from interface stella.Parameter |
|---|
getFormatted, getName, getString |
| Methods inherited from interface util.PropertyBearing |
|---|
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsObject, getAsObject, getLocalized, getProperties, getProperty, getResource, getResourceAsStream, getResources, has, parseObject, removeProperty, setObject, setProperty, stringProperties |
| Methods inherited from interface util.Initializable |
|---|
init |
| Field Detail |
|---|
public static final String KEY_JD
public static final String KEY_DEC
public static final String KEY_PROPRA
public static final String KEY_PROPDEC
private static final String DEFJD
private static final String DEFPROPRA
private static final String DEFPROPDEC
private static final String DEFDEC
private Value jd
private PropRaTarget pmra
private PropDecTarget pmde
private DecTarget de
| Constructor Detail |
|---|
public RaActual(Map prop)
| Method Detail |
|---|
public double rescanned(String key,
String old,
String newval)
rescanned in interface Reloadablerescanned in class RaTargetpublic void registerTarget(TargetDefinition star)
registerTarget in interface TargetDependingregisterTarget in class RaTargetpublic Number getForTarget(TargetDefinition star)
getForTarget in interface TargetDependingValuegetForTarget in interface TargetDependingParametergetForTarget in class RaTargetpublic Number getValue()
getValue in interface ValuegetValue in class RaTargetprotected Number getUnprecessed(TargetDefinition star)
protected Number getUnprecessed()
public void registerParameter(Parameter what)
registerParameter in interface ParameterDependingpublic double getEpoch()
getEpoch in class RaTarget
private Number precess(double alpha,
double delta,
double jul)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||