public class RelativeDateDetector extends DateDetector
AbstractDetector.PropagationDelayTypeEventDetector.ActionDEFAULT_MAXCHECK, DEFAULT_THRESHOLDDECREASING, INCREASING, INCREASING_DECREASING| Constructor and Description |
|---|
RelativeDateDetector(double relativeDateIn,
AbsoluteDate referenceDateIn,
TimeScale offsetTimeScale)
Constructor with target relative date and reference date. maxCheck (1.e10 s) and threshold
(1.0e-9 s).
|
RelativeDateDetector(double relativeDateIn,
AbsoluteDate referenceDateIn,
TimeScale offsetTimeScale,
double maxCheck,
double threshold,
EventDetector.Action action)
Constructor with target relative date and reference date. maxCheck, threshold and action are
also configurable.
|
| Modifier and Type | Method and Description |
|---|---|
EventDetector |
copy()
A copy of the detector.
|
AbsoluteDate |
getReferenceDate()
Getter for the reference date of the event.
|
double |
getRelativeDate()
Getter for the target relative date in seconds.
|
TimeScale |
getTimeScale()
Getter for the time scale of the event.
|
addEventDate, eventOccurred, g, getAction, getDate, shouldBeRemovedgetMaxCheckInterval, getMaxIterationCount, getPropagationDelayType, getSignalEmissionDate, getSignalReceptionDate, getSlopeSelection, getThreshold, init, resetState, setPropagationDelayTypepublic RelativeDateDetector(double relativeDateIn,
AbsoluteDate referenceDateIn,
TimeScale offsetTimeScale)
throws ArithmeticException
relativeDateIn - target relative date to find.referenceDateIn - reference date of the event.offsetTimeScale - time scale in which the relativeDate is expressed.ArithmeticException - if relativeDate is NaN or if referenceDate contains NaN.public RelativeDateDetector(double relativeDateIn,
AbsoluteDate referenceDateIn,
TimeScale offsetTimeScale,
double maxCheck,
double threshold,
EventDetector.Action action)
throws ArithmeticException
relativeDateIn - target relative date.referenceDateIn - reference date of the event.offsetTimeScale - time scale in which the relativeDate is expressed.maxCheck - maximum checking interval (s).threshold - convergence threshold (s).action - action to be performed in case of event detection.ArithmeticException - if referenceDate contains NaN or if relativeDate is NaN.public double getRelativeDate()
public AbsoluteDate getReferenceDate()
public TimeScale getTimeScale()
public EventDetector copy()
copy in interface EventDetectorcopy in class DateDetectorCopyright © 2021 CNES. All rights reserved.