public class PassPredictor extends Object
| Constructor and Description |
|---|
PassPredictor(TLE theTLE,
GroundStationPosition theQTH)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getDownlinkFreq(Long freq,
Date date)
Gets the downlink frequency corrected for doppler.
|
List<SatPassTime> |
getPasses(Date start,
int hoursAhead,
boolean windBack)
Gets a list of SatPassTime
|
List<SatPos> |
getPositions(Date referenceDate,
int incrementSeconds,
int minutesBefore,
int minutesAfter)
Calculates positions of satellite for a given point in time, time range
and step increment.
|
SatPos |
getSatPos(Date time) |
Long |
getUplinkFreq(Long freq,
Date date) |
SatPassTime |
nextSatPass(Date date) |
SatPassTime |
nextSatPass(Date date,
boolean windBack) |
public PassPredictor(TLE theTLE, GroundStationPosition theQTH) throws IllegalArgumentException, SatNotFoundException
tle - the Three Line Elementsqth - the ground station positionIllegalArgumentException - bad argument passed inSatNotFoundExceptionpublic Long getDownlinkFreq(Long freq, Date date) throws SatNotFoundException
freq - the original frequency in HzInvalidTleException - bad TLE passed inSatNotFoundExceptionpublic SatPos getSatPos(Date time) throws SatNotFoundException
SatNotFoundExceptionpublic Long getUplinkFreq(Long freq, Date date) throws SatNotFoundException
SatNotFoundExceptionpublic SatPassTime nextSatPass(Date date) throws SatNotFoundException
SatNotFoundExceptionpublic SatPassTime nextSatPass(Date date, boolean windBack) throws SatNotFoundException
SatNotFoundExceptionpublic List<SatPassTime> getPasses(Date start, int hoursAhead, boolean windBack) throws SatNotFoundException
start - Date
newTLE = true; validateData();end - DatefirstAosLimit - in hoursSatNotFoundExceptionInvalidTleExceptionpublic List<SatPos> getPositions(Date referenceDate, int incrementSeconds, int minutesBefore, int minutesAfter) throws SatNotFoundException
referenceDate - incrementSeconds - minutesBefore - minutesAfter - SatNotFoundExceptionInvalidTleExceptionCopyright © 2014–2019. All rights reserved.