|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.rv.RadialVelocity
public class RadialVelocity
Calculates Radial Velocities.
Constructor Summary | |
---|---|
RadialVelocity()
The Main constuctor to set up default data |
|
RadialVelocity(String observ)
The constuctor to set up default data for an Observatory |
Method Summary | |
---|---|
String[] |
calculate(String hms,
String dms)
Starts the calculation |
Vector |
calculateRV(String hms,
String dms)
Calculate the Radial Velocities |
void |
setDate(String date)
Sets a Date |
void |
setDays(String day)
Sets a Date |
void |
setEquinox(String Equinox)
Sets an equinox |
void |
setObservatory(int id)
Sets up an Observatory |
void |
setObservatory(String observatory)
Sets up an Observatory |
void |
start(String observ)
Start Point |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RadialVelocity()
public RadialVelocity(String observ)
observ
- the Observatory identifierMethod Detail |
---|
public void start(String observ)
public void setObservatory(String observatory)
observatory
- The Observatory identifierpublic void setObservatory(int id)
id
- The Observatory numberpublic void setDate(String date) throws palError
date
- The date expressed as a string( yyyy mm dd days
palError
public void setDays(String day) throws palError
date
- The date expressed as a string( yyyy mm dd days
palError
public void setEquinox(String Equinox) throws palError
Equinox
- The equinox expressed as a String XYYYY,
where X is either J or B and YYYY is a year
palError
public String[] calculate(String hms, String dms) throws palError
hms
- The coordinates expessed as h m sdms
- The coordinates expessed as d m s
palError
public Vector calculateRV(String hms, String dms) throws palError
hms
- The coordinates expessed as h m sdms
- The coordinates expessed as d m s
palError
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |