Class AbstractBatchLSModel
java.lang.Object
org.orekit.estimation.leastsquares.AbstractBatchLSModel
- All Implemented Interfaces:
MultivariateJacobianFunction
- Direct Known Subclasses:
BatchLSModel,DSSTBatchLSModel
Bridge between
measurements and least squares problems.- Since:
- 11.0
- Author:
- Luc Maisonobe, Bryan Cazabonne, Thomas Paulet, Melina Vanel
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractBatchLSModel(PropagatorBuilder[] propagatorBuilders, List<ObservedMeasurement<?>> measurements, ParameterDriversList estimatedMeasurementsParameters, ModelObserver observer) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract MatricesHarvesterconfigureHarvester(Propagator propagator) Configure the propagator to compute derivatives.protected abstract OrbitconfigureOrbits(MatricesHarvester harvester, Propagator propagator) Configure the current estimated orbits.createPropagators(RealVector point) Create the propagators and parameters corresponding to an evaluation point.voidfetchEvaluatedMeasurement(int index, EstimatedMeasurement<?> evaluation) Fetch a measurement that was evaluated during propagation.intGet the evaluations count.intGet the iterations count.getSelectedOrbitalParametersDriversForBuilder(int iBuilder) Get the selected orbital drivers for a propagatorBuilder.getSelectedPropagationDriversForBuilder(int iBuilder) Get the selected propagation drivers for a propagatorBuilder.booleanReturn the forward propagation flag.voidsetEvaluationsCounter(Incrementor evaluationsCounter) Set the counter for evaluations.voidsetIterationsCounter(Incrementor iterationsCounter) Set the counter for iterations.value(RealVector point)
-
Constructor Details
-
AbstractBatchLSModel
protected AbstractBatchLSModel(PropagatorBuilder[] propagatorBuilders, List<ObservedMeasurement<?>> measurements, ParameterDriversList estimatedMeasurementsParameters, ModelObserver observer) Constructor.- Parameters:
propagatorBuilders- builders to use for propagationmeasurements- measurementsestimatedMeasurementsParameters- estimated measurements parametersobserver- observer to be notified at model calls
-
-
Method Details
-
setEvaluationsCounter
Set the counter for evaluations.- Parameters:
evaluationsCounter- counter for evaluations
-
setIterationsCounter
Set the counter for iterations.- Parameters:
iterationsCounter- counter for iterations
-
isForwardPropagation
public boolean isForwardPropagation()Return the forward propagation flag.- Returns:
- the forward propagation flag
-
configureHarvester
Configure the propagator to compute derivatives.- Parameters:
propagator-Propagatorto configure- Returns:
- harvester harvester to retrive the State Transition Matrix and Jacobian Matrix
-
configureOrbits
Configure the current estimated orbits.For DSST orbit determination, short period derivatives are also calculated.
- Parameters:
harvester- harvester for matricespropagator- the orbit propagator- Returns:
- the current estimated orbits
-
value
- Specified by:
valuein interfaceMultivariateJacobianFunction
-
getSelectedOrbitalParametersDriversForBuilder
Get the selected orbital drivers for a propagatorBuilder.- Parameters:
iBuilder- index of the builder in the builders' array- Returns:
- the list of selected orbital drivers for propagatorBuilder of index iBuilder
- Since:
- 11.1
-
getSelectedPropagationDriversForBuilder
Get the selected propagation drivers for a propagatorBuilder.- Parameters:
iBuilder- index of the builder in the builders' array- Returns:
- the list of selected propagation drivers for propagatorBuilder of index iBuilder
-
createPropagators
Create the propagators and parameters corresponding to an evaluation point.- Parameters:
point- evaluation point- Returns:
- an array of new propagators
-
fetchEvaluatedMeasurement
Fetch a measurement that was evaluated during propagation.- Parameters:
index- index of the measurement first componentevaluation- measurement evaluation
-
getIterationsCount
public int getIterationsCount()Get the iterations count.- Returns:
- iterations count
-
getEvaluationsCount
public int getEvaluationsCount()Get the evaluations count.- Returns:
- evaluations count
-