Class OrbitCovarianceHistoryMetadata
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.ndm.odm.ocm.OrbitCovarianceHistoryMetadata
- All Implemented Interfaces:
Section
Metadata for covariance history.
Beware that the Orekit getters and setters all rely on SI units. The parsers
and writers take care of converting these SI units into CCSDS mandatory units.
The Unit class provides useful
fromSi and
toSI methods in case the callers
already use CCSDS units instead of the API SI units. The general-purpose
Unit class (without an 's') and the
CCSDS-specific Units class
(with an 's') also provide some predefined units. These predefined units and the
fromSi and
toSI conversion methods are indeed
what the parsers and writers use for the conversions.
- Since:
- 11.0
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionOrbitCovarianceHistoryMetadata(AbsoluteDate epochT0, CcsdsFrameMapper frameMapper) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet basis of this covariance time history data.Get identification number of the orbit determination or simulation upon which this covariance is based.doubleGet the measure of confidence in covariance error matching reality.Get the frame in which this covariance matrix is defined.Get epoch of thecovariance reference frame.getCovID()Get covariance identification number.Get identification number of next covariance.Get covariance ordering.Get identification number of previous covariance.Get reference frame of the covariance.doubleGet the maximum scale factor to apply to achieve realism.doubleGet the minimum scale factor to apply to achieve realism.Get covariance element set type.Get covariance element set units.Get the mapping between a CCSDS frame and aFrame.voidsetCovBasis(String covBasis) Set basis of this covariance time history data.voidsetCovBasisID(String covBasisID) Set identification number of the orbit determination or simulation upon which this covariance is based.voidsetCovConfidence(double covConfidence) Set the measure of confidence in covariance error matching reality.voidsetCovFrameEpoch(AbsoluteDate covFrameEpoch) Set epoch of thecovariance reference frame.voidSet covariance identification number.voidsetCovNextID(String covNextID) Set identification number of next covariance.voidsetCovOrdering(Ordering covOrdering) Set covariance ordering.voidsetCovPrevID(String covPrevID) Set identification number of previous covariance.voidsetCovReferenceFrame(FrameFacade covReferenceFrame) Set reference frame of the covariance.voidsetCovScaleMax(double covScaleMax) Set the maximum scale factor to apply to achieve realism.voidsetCovScaleMin(double covScaleMin) Set the minimum scale factor to apply to achieve realism.voidsetCovType(OrbitElementsType covType) Set covariance element set type.voidsetCovUnits(List<Unit> covUnits) Set covariance element set units.voidvalidate(double version) Check is all mandatory entries have been initialized.Methods inherited from class org.orekit.files.ccsds.section.CommentsContainer
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments, setComments
-
Constructor Details
-
OrbitCovarianceHistoryMetadata
Simple constructor.- Parameters:
epochT0- T0 epoch from file metadataframeMapper- for creating aFrame.- Since:
- 13.1.5
-
-
Method Details
-
validate
public void validate(double version) Check is all mandatory entries have been initialized.This method should throw an exception if some mandatory entries are missing or not compatible with version number.
- Specified by:
validatein interfaceSection- Overrides:
validatein classCommentsContainer- Parameters:
version- format version
-
getCovID
Get covariance identification number.- Returns:
- covariance identification number
-
setCovID
Set covariance identification number.- Parameters:
covID- covariance identification number
-
getCovPrevID
Get identification number of previous covariance.- Returns:
- identification number of previous covariance
-
setCovPrevID
Set identification number of previous covariance.- Parameters:
covPrevID- identification number of previous covariance
-
getCovNextID
Get identification number of next covariance.- Returns:
- identification number of next covariance
-
setCovNextID
Set identification number of next covariance.- Parameters:
covNextID- identification number of next covariance
-
getCovBasis
Get basis of this covariance time history data.- Returns:
- basis of this covariance time history data
-
setCovBasis
Set basis of this covariance time history data.- Parameters:
covBasis- basis of this covariance time history data
-
getCovBasisID
Get identification number of the orbit determination or simulation upon which this covariance is based.- Returns:
- identification number of the orbit determination or simulation upon which this covariance is based
-
setCovBasisID
Set identification number of the orbit determination or simulation upon which this covariance is based.- Parameters:
covBasisID- identification number of the orbit determination or simulation upon which this covariance is based
-
getCovReferenceFrame
Get reference frame of the covariance.- Returns:
- reference frame of the covariance
-
setCovReferenceFrame
Set reference frame of the covariance.- Parameters:
covReferenceFrame- the reference frame to be set
-
getCovFrameEpoch
Get epoch of thecovariance reference frame.- Returns:
- epoch of the
covariance reference frame
-
setCovFrameEpoch
Set epoch of thecovariance reference frame.- Parameters:
covFrameEpoch- epoch of thecovariance reference frame
-
getFrameMapper
Get the mapping between a CCSDS frame and aFrame.- Returns:
- the frame mapper.
- Since:
- 13.1.5
-
getCovFrame
Get the frame in which this covariance matrix is defined. Note that only the orientation of the returned frame is significant, the position of the returned frame is irrelevant and should be ignored.- Returns:
- Orekit frame for this covariance history.
- Since:
- 13.1.5
- See Also:
-
setCovScaleMin
public void setCovScaleMin(double covScaleMin) Set the minimum scale factor to apply to achieve realism.- Parameters:
covScaleMin- minimum scale factor to apply to achieve realism
-
getCovScaleMin
public double getCovScaleMin()Get the minimum scale factor to apply to achieve realism.- Returns:
- minimum scale factor to apply to achieve realism
-
setCovScaleMax
public void setCovScaleMax(double covScaleMax) Set the maximum scale factor to apply to achieve realism.- Parameters:
covScaleMax- maximum scale factor to apply to achieve realism
-
getCovScaleMax
public double getCovScaleMax()Get the maximum scale factor to apply to achieve realism.- Returns:
- maximum scale factor to apply to achieve realism
-
setCovConfidence
public void setCovConfidence(double covConfidence) Set the measure of confidence in covariance error matching reality.- Parameters:
covConfidence- measure of confidence in covariance error matching reality
-
getCovConfidence
public double getCovConfidence()Get the measure of confidence in covariance error matching reality.- Returns:
- measure of confidence in covariance error matching reality
-
getCovType
Get covariance element set type.- Returns:
- covariance element set type
-
setCovType
Set covariance element set type.- Parameters:
covType- covariance element set type
-
getCovOrdering
Get covariance ordering.- Returns:
- covariance ordering
-
setCovOrdering
Set covariance ordering.- Parameters:
covOrdering- covariance ordering
-
getCovUnits
Get covariance element set units.- Returns:
- covariance element set units
-
setCovUnits
Set covariance element set units.- Parameters:
covUnits- covariance element set units
-