Class PythonAbstractMeasurementBuilder<T extends ObservedMeasurement<T>>
- java.lang.Object
-
- org.orekit.estimation.measurements.generation.AbstractMeasurementBuilder<T>
-
- org.orekit.estimation.measurements.generation.PythonAbstractMeasurementBuilder<T>
-
- All Implemented Interfaces:
MeasurementBuilder<T>
public class PythonAbstractMeasurementBuilder<T extends ObservedMeasurement<T>> extends AbstractMeasurementBuilder<T>
-
-
Constructor Summary
Constructors Constructor Description PythonAbstractMeasurementBuilder(CorrelatedRandomVectorGenerator noiseSource, double[] sigma, double[] baseWeight, ObservableSatellite... satellites)
Simple constructor.PythonAbstractMeasurementBuilder(CorrelatedRandomVectorGenerator noiseSource, double sigma, double baseWeight, ObservableSatellite... satellites)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
build(AbsoluteDate date, Map<ObservableSatellite,OrekitStepInterpolator> interpolators)
Generate a single measurement.void
finalize()
Part of JCC Python interface to objectdouble[]
getBaseWeight()
Get the base weight associated with the measurementAbsoluteDate
getEnd()
Get the end of the measurements time span.double[]
getNoise()
Generate a noise vector.ObservableSatellite[]
getSatellites()
Get the satellites related to this measurement.AbsoluteDate
getStart()
Get the start of the measurements time span.double[]
getTheoreticalStandardDeviation()
Get the theoretical standard deviation.void
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to object-
Methods inherited from class org.orekit.estimation.measurements.generation.AbstractMeasurementBuilder
addModifier, getModifiers, init
-
-
-
-
Constructor Detail
-
PythonAbstractMeasurementBuilder
public PythonAbstractMeasurementBuilder(CorrelatedRandomVectorGenerator noiseSource, double sigma, double baseWeight, ObservableSatellite... satellites)
Simple constructor.- Parameters:
noiseSource
- noise source, may be null for generating perfect measurementssigma
- theoretical standard deviationbaseWeight
- base weightsatellites
- satellites related to this builder
-
PythonAbstractMeasurementBuilder
public PythonAbstractMeasurementBuilder(CorrelatedRandomVectorGenerator noiseSource, double[] sigma, double[] baseWeight, ObservableSatellite... satellites)
Simple constructor.- Parameters:
noiseSource
- noise source, may be null for generating perfect measurementssigma
- theoretical standard deviationbaseWeight
- base weightsatellites
- satellites related to this builder
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
getStart
public AbsoluteDate getStart()
Get the start of the measurements time span.- Overrides:
getStart
in classAbstractMeasurementBuilder<T extends ObservedMeasurement<T>>
- Returns:
- start of the measurements time span
-
getEnd
public AbsoluteDate getEnd()
Get the end of the measurements time span.- Overrides:
getEnd
in classAbstractMeasurementBuilder<T extends ObservedMeasurement<T>>
- Returns:
- end of the measurements time span
-
getNoise
public double[] getNoise()
Generate a noise vector.- Overrides:
getNoise
in classAbstractMeasurementBuilder<T extends ObservedMeasurement<T>>
- Returns:
- noise vector (null if we generate perfect measurements)
-
getTheoreticalStandardDeviation
public double[] getTheoreticalStandardDeviation()
Get the theoretical standard deviation.The theoretical standard deviation is a theoretical value used for normalizing the residuals. It acts as a weighting factor to mix appropriately measurements with different units and different accuracy. The value has the same dimension as the measurement itself (i.e. when a residual is divided by this value, it becomes dimensionless).
- Overrides:
getTheoreticalStandardDeviation
in classAbstractMeasurementBuilder<T extends ObservedMeasurement<T>>
- Returns:
- expected standard deviation
- See Also:
getBaseWeight()
-
getBaseWeight
public double[] getBaseWeight()
Get the base weight associated with the measurementThe base weight is used on residuals already normalized thanks to
getTheoreticalStandardDeviation()
to increase or decrease relative effect of some measurements with respect to other measurements. It is a dimensionless value, typically between 0 and 1 (but it can really have any non-negative value).- Overrides:
getBaseWeight
in classAbstractMeasurementBuilder<T extends ObservedMeasurement<T>>
- Returns:
- base weight
- See Also:
getTheoreticalStandardDeviation()
-
getSatellites
public ObservableSatellite[] getSatellites()
Get the satellites related to this measurement.- Specified by:
getSatellites
in interfaceMeasurementBuilder<T extends ObservedMeasurement<T>>
- Overrides:
getSatellites
in classAbstractMeasurementBuilder<T extends ObservedMeasurement<T>>
- Returns:
- satellites related to this measurement
-
build
public T build(AbsoluteDate date, Map<ObservableSatellite,OrekitStepInterpolator> interpolators)
Description copied from interface:MeasurementBuilder
Generate a single measurement.- Parameters:
date
- measurement dateinterpolators
- interpolators relevant for this builder- Returns:
- generated measurement
-
-