Class ObservableSatellite
- java.lang.Object
-
- org.orekit.estimation.measurements.ObservableSatellite
-
- All Implemented Interfaces:
ParameterDriversProvider
public class ObservableSatellite extends Object
Class modeling a satellite that can be observed.- Since:
- 9.3
- Author:
- Luc Maisonobe
-
-
Field Summary
Fields Modifier and Type Field Description static StringACCELERATION_SUFFIXSuffix for ground clock drift parameters name.static StringDRIFT_SUFFIXSuffix for ground clock drift parameters name.static StringOFFSET_SUFFIXSuffix for ground station position and clock offset parameters names.
-
Constructor Summary
Constructors Constructor Description ObservableSatellite(int propagatorIndex)Simple constructor.ObservableSatellite(int propagatorIndex, String name)Simple constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddParameterDriver(ParameterDriver parameterDriver)Add a single parameter.protected static QuadraticClockModelcreateEmptyQuadraticClock(String name)Creates an quadratic clock with zero displacement.booleanequals(Object other)static FieldPVCoordinatesProvider<Gradient>extractFieldPVCoordinatesProvider(SpacecraftState templateState, TimeStampedFieldPVCoordinates<Gradient> pvCoordinates)Create PV provider from position-velocity-acceleration vector and template state.static PVCoordinatesProviderextractPVCoordinatesProvider(SpacecraftState templateState, TimeStampedPVCoordinates pvCoordinates)Create PV provider from position-velocity-acceleration vector and template state.ParameterDrivergetClockAccelerationDriver()Get the clock acceleration driver.ParameterDrivergetClockDriftDriver()Get the clock drift driver.ParameterDrivergetClockOffsetDriver()Get the clock offset driver.StringgetName()Get the MeasurementObject name.List<ParameterDriver>getParametersDrivers()Get the drivers for parameters.intgetPropagatorIndex()Get the index of the propagator related to this satellite.QuadraticClockModelgetQuadraticClockModel()Get a quadratic clock model valid at some date.QuadraticFieldClockModel<Gradient>getQuadraticFieldClock(int freeParameters, AbsoluteDate date, Map<String,Integer> indices)Get emitting satellite clock provider.inthashCode()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
-
-
-
Field Detail
-
OFFSET_SUFFIX
public static final String OFFSET_SUFFIX
Suffix for ground station position and clock offset parameters names.- See Also:
- Constant Field Values
-
DRIFT_SUFFIX
public static final String DRIFT_SUFFIX
Suffix for ground clock drift parameters name.- See Also:
- Constant Field Values
-
ACCELERATION_SUFFIX
public static final String ACCELERATION_SUFFIX
Suffix for ground clock drift parameters name.- Since:
- 12.1
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObservableSatellite
public ObservableSatellite(int propagatorIndex)
Simple constructor.This constructor builds a default name based on the propagator index.
- Parameters:
propagatorIndex- index of the propagator related to this satellite
-
ObservableSatellite
public ObservableSatellite(int propagatorIndex, String name)Simple constructor.- Parameters:
propagatorIndex- index of the propagator related to this satellitename- satellite name (if null, a default name built from index will be used)- Since:
- 13.0
-
-
Method Detail
-
getPropagatorIndex
public int getPropagatorIndex()
Get the index of the propagator related to this satellite.- Returns:
- index of the propagator related to this satellite
-
getName
public final String getName()
Get the MeasurementObject name.- Returns:
- name for the object
- Since:
- 12.1
-
getClockOffsetDriver
public final ParameterDriver getClockOffsetDriver()
Get the clock offset driver.- Returns:
- clock offset driver
-
getClockDriftDriver
public final ParameterDriver getClockDriftDriver()
Get the clock drift driver.- Returns:
- clock drift driver
-
getClockAccelerationDriver
public final ParameterDriver getClockAccelerationDriver()
Get the clock acceleration driver.- Returns:
- clock acceleration driver
-
createEmptyQuadraticClock
protected static QuadraticClockModel createEmptyQuadraticClock(String name)
Creates an quadratic clock with zero displacement.- Parameters:
name- name of object that is holding the clock- Returns:
- new quadratic clock model
-
getQuadraticClockModel
public final QuadraticClockModel getQuadraticClockModel()
Get a quadratic clock model valid at some date.- Returns:
- quadratic clock model
- Since:
- 12.1
-
getQuadraticFieldClock
public QuadraticFieldClockModel<Gradient> getQuadraticFieldClock(int freeParameters, AbsoluteDate date, Map<String,Integer> indices)
Get emitting satellite clock provider.- Parameters:
freeParameters- total number of free parameters in the gradientdate- time of computationsindices- indices of the differentiation parameters in derivatives computations, must be span name and not driver name- Returns:
- emitting satellite clock provider
-
getParametersDrivers
public List<ParameterDriver> getParametersDrivers()
Get the drivers for parameters.- Specified by:
getParametersDriversin interfaceParameterDriversProvider- Returns:
- drivers for parameters
-
addParameterDriver
protected final void addParameterDriver(ParameterDriver parameterDriver)
Add a single parameter.- Parameters:
parameterDriver- parameter being added to the MeasurementObject
-
extractPVCoordinatesProvider
public static PVCoordinatesProvider extractPVCoordinatesProvider(SpacecraftState templateState, TimeStampedPVCoordinates pvCoordinates)
Create PV provider from position-velocity-acceleration vector and template state.- Parameters:
templateState- template statepvCoordinates- position-velocity-acceleration- Returns:
- position-velocity-acceleration provider
- Since:
- 14.0
-
extractFieldPVCoordinatesProvider
public static FieldPVCoordinatesProvider<Gradient> extractFieldPVCoordinatesProvider(SpacecraftState templateState, TimeStampedFieldPVCoordinates<Gradient> pvCoordinates)
Create PV provider from position-velocity-acceleration vector and template state.- Parameters:
templateState- template statepvCoordinates- position-velocity-acceleration- Returns:
- position-velocity-acceleration provider
- Since:
- 14.0
-
-