Class PythonPropagatorBuilder
- java.lang.Object
-
- org.orekit.propagation.conversion.PythonPropagatorBuilder
-
- All Implemented Interfaces:
PropagatorBuilder
public class PythonPropagatorBuilder extends Object implements PropagatorBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected long
pythonObject
Part of JCC Python interface to object
-
Constructor Summary
Constructors Constructor Description PythonPropagatorBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractBatchLSModel
buildLeastSquaresModel(PropagatorBuilder[] builders, List<ObservedMeasurement<?>> measurements, ParameterDriversList estimatedMeasurementsParameters, ModelObserver observer)
Build a new batch least squares model.Propagator
buildPropagator(double[] normalizedParameters)
Build a propagator.PropagatorBuilder
copy()
Create a new instance identical to this one.void
finalize()
Frame
getFrame()
Get the frame in which the orbit is propagated.AbsoluteDate
getInitialOrbitDate()
Get the date of the initial orbit.double
getMu()
Get the central attraction coefficient (µ - m³/s²) value.ParameterDriversList
getOrbitalParametersDrivers()
Get the drivers for the configurable orbital parameters.OrbitType
getOrbitType()
Get the orbit type expected for the 6 first parameters inPropagatorBuilder.buildPropagator(double[])
.PositionAngleType
getPositionAngleType()
Get the position angle type expected for the 6 first parameters inPropagatorBuilder.buildPropagator(double[])
.ParameterDriversList
getPropagationParametersDrivers()
Get the drivers for the configurable propagation parameters.double[]
getSelectedNormalizedParameters()
Get the current value of selected normalized parameters.void
pythonDecRef()
long
pythonExtension()
void
pythonExtension(long pythonObject)
void
resetOrbit(Orbit newOrbit)
Reset the orbit in the propagator builder.
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
-
pythonExtension
public long pythonExtension()
-
finalize
public void finalize() throws Throwable
-
pythonDecRef
public void pythonDecRef()
-
copy
public PropagatorBuilder copy()
Create a new instance identical to this one.- Specified by:
copy
in interfacePropagatorBuilder
- Returns:
- new instance identical to this one
-
buildPropagator
public Propagator buildPropagator(double[] normalizedParameters)
Build a propagator.- Specified by:
buildPropagator
in interfacePropagatorBuilder
- Parameters:
normalizedParameters
- normalized values for the selected parameters- Returns:
- an initialized propagator
-
buildLeastSquaresModel
public AbstractBatchLSModel buildLeastSquaresModel(PropagatorBuilder[] builders, List<ObservedMeasurement<?>> measurements, ParameterDriversList estimatedMeasurementsParameters, ModelObserver observer)
Build a new batch least squares model.- Specified by:
buildLeastSquaresModel
in interfacePropagatorBuilder
- Parameters:
builders
- builders to use for propagationmeasurements
- measurementsestimatedMeasurementsParameters
- estimated measurements parametersobserver
- observer to be notified at model calls- Returns:
- a new model for the Batch Least Squares orbit determination
-
getSelectedNormalizedParameters
public double[] getSelectedNormalizedParameters()
Get the current value of selected normalized parameters.- Specified by:
getSelectedNormalizedParameters
in interfacePropagatorBuilder
- Returns:
- current value of selected normalized parameters
-
getOrbitType
public OrbitType getOrbitType()
Get the orbit type expected for the 6 first parameters inPropagatorBuilder.buildPropagator(double[])
.- Specified by:
getOrbitType
in interfacePropagatorBuilder
- Returns:
- orbit type to use in
PropagatorBuilder.buildPropagator(double[])
- See Also:
PropagatorBuilder.buildPropagator(double[])
,PropagatorBuilder.getPositionAngleType()
-
getPositionAngleType
public PositionAngleType getPositionAngleType()
Get the position angle type expected for the 6 first parameters inPropagatorBuilder.buildPropagator(double[])
.- Specified by:
getPositionAngleType
in interfacePropagatorBuilder
- Returns:
- position angle type to use in
PropagatorBuilder.buildPropagator(double[])
- See Also:
PropagatorBuilder.buildPropagator(double[])
,PropagatorBuilder.getOrbitType()
-
getInitialOrbitDate
public AbsoluteDate getInitialOrbitDate()
Get the date of the initial orbit.- Specified by:
getInitialOrbitDate
in interfacePropagatorBuilder
- Returns:
- date of the initial orbit
-
getFrame
public Frame getFrame()
Get the frame in which the orbit is propagated.- Specified by:
getFrame
in interfacePropagatorBuilder
- Returns:
- frame in which the orbit is propagated
-
getMu
public double getMu()
Get the central attraction coefficient (µ - m³/s²) value.- Specified by:
getMu
in interfacePropagatorBuilder
- Returns:
- the central attraction coefficient (µ - m³/s²) value
-
getOrbitalParametersDrivers
public ParameterDriversList getOrbitalParametersDrivers()
Get the drivers for the configurable orbital parameters. Orbital drivers should have only 1 value estimated (1 span)- Specified by:
getOrbitalParametersDrivers
in interfacePropagatorBuilder
- Returns:
- drivers for the configurable orbital parameters
-
getPropagationParametersDrivers
public ParameterDriversList getPropagationParametersDrivers()
Get the drivers for the configurable propagation parameters.The parameters typically correspond to force models.
- Specified by:
getPropagationParametersDrivers
in interfacePropagatorBuilder
- Returns:
- drivers for the configurable propagation parameters
-
resetOrbit
public void resetOrbit(Orbit newOrbit)
Reset the orbit in the propagator builder.- Specified by:
resetOrbit
in interfacePropagatorBuilder
- Parameters:
newOrbit
- New orbit to set in the propagator builder
-
-