T
- the type of the measurementpublic abstract class AbstractMeasurementBuilder<T extends ObservedMeasurement<T>> extends Object implements MeasurementBuilder<T>
measurements builders
.Modifier | Constructor and Description |
---|---|
protected |
AbstractMeasurementBuilder(CorrelatedRandomVectorGenerator noiseSource,
double[] sigma,
double[] baseWeight,
ObservableSatellite... satellites)
Simple constructor.
|
protected |
AbstractMeasurementBuilder(CorrelatedRandomVectorGenerator noiseSource,
double sigma,
double baseWeight,
ObservableSatellite... satellites)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addModifier(EstimationModifier<T> modifier)
Add a modifier.
|
protected double[] |
getBaseWeight()
Get the base weight associated with the measurement
|
protected AbsoluteDate |
getEnd()
Get the end of the measurements time span.
|
List<EstimationModifier<T>> |
getModifiers()
Get the modifiers that apply to a measurement.
|
protected double[] |
getNoise()
Generate a noise vector.
|
protected ObservableSatellite[] |
getSatellites()
Get the satellites related to this measurement.
|
protected AbsoluteDate |
getStart()
Get the start of the measurements time span.
|
protected double[] |
getTheoreticalStandardDeviation()
Get the theoretical standard deviation.
|
void |
init(AbsoluteDate start,
AbsoluteDate end)
Initialize builder at the start of a measurements generation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
protected AbstractMeasurementBuilder(CorrelatedRandomVectorGenerator noiseSource, double sigma, double baseWeight, ObservableSatellite... satellites)
noiseSource
- noise source, may be null for generating perfect measurementssigma
- theoretical standard deviationbaseWeight
- base weightsatellites
- satellites related to this builderprotected AbstractMeasurementBuilder(CorrelatedRandomVectorGenerator noiseSource, double[] sigma, double[] baseWeight, ObservableSatellite... satellites)
noiseSource
- noise source, may be null for generating perfect measurementssigma
- theoretical standard deviationbaseWeight
- base weightsatellites
- satellites related to this builderpublic void init(AbsoluteDate start, AbsoluteDate end)
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.
init
in interface MeasurementBuilder<T extends ObservedMeasurement<T>>
start
- start of the measurements time spanend
- end of the measurements time spanpublic void addModifier(EstimationModifier<T> modifier)
addModifier
in interface MeasurementBuilder<T extends ObservedMeasurement<T>>
modifier
- modifier to addpublic List<EstimationModifier<T>> getModifiers()
getModifiers
in interface MeasurementBuilder<T extends ObservedMeasurement<T>>
MeasurementBuilder.addModifier(EstimationModifier)
protected AbsoluteDate getStart()
protected AbsoluteDate getEnd()
protected double[] getNoise()
protected double[] getTheoreticalStandardDeviation()
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).
getBaseWeight()
protected double[] getBaseWeight()
The 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).
getTheoreticalStandardDeviation()
protected ObservableSatellite[] getSatellites()
Copyright © 2002-2020 CS GROUP. All rights reserved.