public class RadialVelocity extends Object
Constructor and Description |
---|
RadialVelocity()
The Main constuctor to set up default data
|
RadialVelocity(String observ)
The constuctor to set up default data for an Observatory
|
Modifier and Type | Method and Description |
---|---|
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
|
public RadialVelocity()
public RadialVelocity(String observ)
observ
- the Observatory identifierpublic 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 dayspalError
public void setDays(String day) throws palError
day
- The date expressed as a string giving integer number of dayspalError
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 yearpalError
public String[] calculate(String hms, String dms) throws palError
hms
- The coordinates expessed as h m sdms
- The coordinates expessed as d m spalError
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.