public static class Calc_Ls.Engine
extends java.lang.Object
Constructor and Description |
---|
Engine(State_File stateFile)
Creates a new solar longitude calculation engine.
|
Modifier and Type | Method and Description |
---|---|
Calc_Ls.Record |
calcLs(java.util.Date date)
Computes a solar longitude record for the input date.
|
java.util.List<Calc_Ls.Record> |
calcLs(java.util.List<java.util.Date> dates)
Computes a list of solar longitude records for the input dates.
|
public Engine(State_File stateFile) throws SPICE_Exception
Note that the state file's planetary SPK should cover the range of dates intended to be used with this engine. Specifically, the Sun, Earth, and Mars ephemerides contained within should cover that range.
stateFile
- the reference state file for the computations.SPICE_Exception
- if there is a problem initializing the SPICE
system.public java.util.List<Calc_Ls.Record> calcLs(java.util.List<java.util.Date> dates)
dates
- the list of dates.public Calc_Ls.Record calcLs(java.util.Date date)
date
- the date in question.Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona