Class MultiplexedMeasurementBuilder
- java.lang.Object
-
- org.orekit.estimation.measurements.generation.MultiplexedMeasurementBuilder
-
- All Implemented Interfaces:
MeasurementBuilder<MultiplexedMeasurement>
public class MultiplexedMeasurementBuilder extends Object implements MeasurementBuilder<MultiplexedMeasurement>
Builder forMultiplexedMeasurement
measurements.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description MultiplexedMeasurementBuilder(List<MeasurementBuilder<?>> builders)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addModifier(EstimationModifier<MultiplexedMeasurement> modifier)
Add a modifier.MultiplexedMeasurement
build(AbsoluteDate date, Map<ObservableSatellite,OrekitStepInterpolator> interpolators)
Generate a single measurement.List<EstimationModifier<MultiplexedMeasurement>>
getModifiers()
Get the modifiers that apply to a measurement.ObservableSatellite[]
getSatellites()
Get the satellites related to this measurement.void
init(AbsoluteDate start, AbsoluteDate end)
Initialize builder at the start of a measurements generation.
-
-
-
Constructor Detail
-
MultiplexedMeasurementBuilder
public MultiplexedMeasurementBuilder(List<MeasurementBuilder<?>> builders)
Simple constructor.- Parameters:
builders
- builders for multiplexed measurements
-
-
Method Detail
-
init
public void init(AbsoluteDate start, AbsoluteDate end)
Initialize builder at the start of a measurements generation.This method is called once at the start of the measurements generation. It may be used by the builder to initialize some internal data if needed, typically setting up parameters reference dates.
This implementation stores the time span of the measurements generation.
- Specified by:
init
in interfaceMeasurementBuilder<MultiplexedMeasurement>
- Parameters:
start
- start of the measurements time spanend
- end of the measurements time span
-
addModifier
public void addModifier(EstimationModifier<MultiplexedMeasurement> modifier)
Add a modifier.- Specified by:
addModifier
in interfaceMeasurementBuilder<MultiplexedMeasurement>
- Parameters:
modifier
- modifier to add
-
getModifiers
public List<EstimationModifier<MultiplexedMeasurement>> getModifiers()
Get the modifiers that apply to a measurement.- Specified by:
getModifiers
in interfaceMeasurementBuilder<MultiplexedMeasurement>
- Returns:
- modifiers that apply to a measurement
- See Also:
MeasurementBuilder.addModifier(EstimationModifier)
-
build
public MultiplexedMeasurement build(AbsoluteDate date, Map<ObservableSatellite,OrekitStepInterpolator> interpolators)
Generate a single measurement.- Specified by:
build
in interfaceMeasurementBuilder<MultiplexedMeasurement>
- Parameters:
date
- measurement dateinterpolators
- interpolators relevant for this builder- Returns:
- generated measurement
-
getSatellites
public ObservableSatellite[] getSatellites()
Get the satellites related to this measurement.- Specified by:
getSatellites
in interfaceMeasurementBuilder<MultiplexedMeasurement>
- Returns:
- satellites related to this measurement
-
-