fr.cnes.sirius.patrius.events.sensor
Class AbstractDetectorWithTropoCorrection

java.lang.Object
  extended by org.orekit.propagation.events.AbstractDetector
      extended by fr.cnes.sirius.patrius.events.sensor.AbstractDetectorWithTropoCorrection
All Implemented Interfaces:
Serializable, EventDetector
Direct Known Subclasses:
StationToSatMutualVisibilityDetector, VisibilityFromStationDetector

public abstract class AbstractDetectorWithTropoCorrection
extends AbstractDetector

Abstract event detector using a station elevation correction.

Since:
1.2
Version:
$Id: AbstractDetectorWithTropoCorrection.java 17586 2017-05-10 13:29:16Z bignon $
Author:
Thomas Trapier
See Also:
Serialized Form
Concurrency :
not thread-safe
Concurrency comment :
The use of frames makes this class not thread-safe.

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.orekit.propagation.events.EventDetector
EventDetector.Action
 
Field Summary
 
Fields inherited from class org.orekit.propagation.events.AbstractDetector
DEFAULT_MAXCHECK, DEFAULT_THRESHOLD
 
Fields inherited from interface org.orekit.propagation.events.EventDetector
DECREASING, INCREASING, INCREASING_DECREASING
 
Constructor Summary
protected AbstractDetectorWithTropoCorrection(GeometricStationAntenna stationModel, AngularCorrection correctionModel, double maxCheck, double threshold)
          Constructor for the abstract event detector using a station elevation correction.
 
Method Summary
protected  Vector3D getCorrectedVector(SpacecraftState s)
          Compute the apparent vector from the station to the spacecraft with tropospheric effects.
 AngularCorrection getCorrection()
          Get the correction.
 GeometricStationAntenna getStation()
          Get the station.
 
Methods inherited from class org.orekit.propagation.events.AbstractDetector
eventOccurred, g, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init, resetState, shouldBeRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDetectorWithTropoCorrection

protected AbstractDetectorWithTropoCorrection(GeometricStationAntenna stationModel,
                                              AngularCorrection correctionModel,
                                              double maxCheck,
                                              double threshold)
Constructor for the abstract event detector using a station elevation correction.

The maximal interval between elevation checks should be smaller than the half duration of the minimal pass to handle, otherwise some short passes could be missed.

Parameters:
stationModel - the geometric model of the ground station antenna
correctionModel - the angular correction model (set null to ignore the station elevation correction)
maxCheck - maximal checking interval (s)
threshold - convergence threshold (s)
Method Detail

getCorrectedVector

protected Vector3D getCorrectedVector(SpacecraftState s)
                               throws OrekitException
Compute the apparent vector from the station to the spacecraft with tropospheric effects.

Parameters:
s - the current state information: date, kinematics, attitude
Returns:
the apparent vector from the station to the spacecraft with tropospheric effects
Throws:
OrekitException - if some specific error occurs

getStation

public GeometricStationAntenna getStation()
Get the station.

Returns:
the station antenna geometric model

getCorrection

public AngularCorrection getCorrection()
Get the correction.

Returns:
the correction


Copyright © 2017 CNES. All Rights Reserved.