Package org.orekit.files.ccsds.ndm.cdm
Class ODParameters
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.ndm.cdm.ODParameters
- All Implemented Interfaces:
Section
Container for OD parameters data block.
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.2
- Author:
- Melina Vanel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the actual OD time based on the observations available and the RECOMMENDED_OD_SPAN.intGet the number of observations available for the OD of the object.intGet the number of observations accepted for the OD of the object.Get the epoch of the orbit determination used for this message.doubleGet the recommended OD time span calculated for the object.doubleGet the percentage of residuals accepted in the OD of the object (from 0 to 100).Get the start of a time interval (UTC) that contains the time of the last accepted observation.Get the start of a time interval (UTC) that contains the time of the last accepted observation.intGet the number of sensor tracks available for the OD of the object.intGet the number of sensor tracks used for the OD of the object.doubleGet the weighted Root Mean Square (RMS) of the residuals from a batch least squares OD.voidsetActualOdSpan(double actualOdSpan) Set the actual OD time based on the observations available and the RECOMMENDED_OD_SPAN.voidsetObsAvailable(int obsAvailable) Set the number of observations available for the OD of the object.voidsetObsUsed(int obsUsed) Set the number of observations accepted for the OD of the object.voidsetOdEpoch(AbsoluteDate odEpoch) Set the epoch of the orbit determination used for this message.voidsetRecommendedOdSpan(double recommendedOdSpan) Set the recommended OD time span calculated for the object.voidsetResidualsAccepted(double residualsAccepted) Set the percentage of residuals accepted in the OD of the object (from 0 to 100).voidsetTimeLastObsEnd(AbsoluteDate timeLastObsEnd) Set the start of a time interval (UTC) that contains the time of the last accepted observation.voidsetTimeLastObsStart(AbsoluteDate timeLastObsStart) Set the start of a time interval (UTC) that contains the time of the last accepted observation.voidsetTracksAvailable(int tracksAvailable) Set the number of sensor tracks available for the OD of the object.voidsetTracksUsed(int tracksUsed) Set the number of sensor tracks used for the OD of the object.voidsetWeightedRMS(double WeightedRMS) Set the weighted Root Mean Square (RMS) of the residuals from a batch least squares OD.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
-
ODParameters
public ODParameters()Simple constructor.
-
-
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
-
getTimeLastObsStart
Get the start of a time interval (UTC) that contains the time of the last accepted observation.- Returns:
- the start of a time interval (UTC)
-
setTimeLastObsStart
Set the start of a time interval (UTC) that contains the time of the last accepted observation.- Parameters:
timeLastObsStart- the start of a time interval (UTC)
-
getTimeLastObsEnd
Get the start of a time interval (UTC) that contains the time of the last accepted observation.- Returns:
- the start of a time interval (UTC)
-
setTimeLastObsEnd
Set the start of a time interval (UTC) that contains the time of the last accepted observation.- Parameters:
timeLastObsEnd- the start of a time interval (UTC)
-
getRecommendedOdSpan
public double getRecommendedOdSpan()Get the recommended OD time span calculated for the object.- Returns:
- the recommended OD time span (in days) calculated for the object
-
setRecommendedOdSpan
public void setRecommendedOdSpan(double recommendedOdSpan) Set the recommended OD time span calculated for the object.- Parameters:
recommendedOdSpan- recommended OD time span (in days) calculated for the object
-
getActualOdSpan
public double getActualOdSpan()Get the actual OD time based on the observations available and the RECOMMENDED_OD_SPAN.- Returns:
- the actual OD time (in days)
-
setActualOdSpan
public void setActualOdSpan(double actualOdSpan) Set the actual OD time based on the observations available and the RECOMMENDED_OD_SPAN.- Parameters:
actualOdSpan- the actual OD time (in days)
-
getObsAvailable
public int getObsAvailable()Get the number of observations available for the OD of the object.- Returns:
- the number of observations available
-
setObsAvailable
public void setObsAvailable(int obsAvailable) Set the number of observations available for the OD of the object.- Parameters:
obsAvailable- the number of observations available
-
getObsUsed
public int getObsUsed()Get the number of observations accepted for the OD of the object.- Returns:
- the number of observations used
-
setObsUsed
public void setObsUsed(int obsUsed) Set the number of observations accepted for the OD of the object.- Parameters:
obsUsed- the number of observations used
-
getTracksAvailable
public int getTracksAvailable()Get the number of sensor tracks available for the OD of the object.- Returns:
- the number of sensor tracks available
-
setTracksAvailable
public void setTracksAvailable(int tracksAvailable) Set the number of sensor tracks available for the OD of the object.- Parameters:
tracksAvailable- the number of sensor tracks available
-
getTracksUsed
public int getTracksUsed()Get the number of sensor tracks used for the OD of the object.- Returns:
- the number of sensor tracks used
-
setTracksUsed
public void setTracksUsed(int tracksUsed) Set the number of sensor tracks used for the OD of the object.- Parameters:
tracksUsed- the number of sensor tracks used
-
getResidualsAccepted
public double getResidualsAccepted()Get the percentage of residuals accepted in the OD of the object (from 0 to 100).- Returns:
- the percentage of residuals accepted in the OD
-
setResidualsAccepted
public void setResidualsAccepted(double residualsAccepted) Set the percentage of residuals accepted in the OD of the object (from 0 to 100).- Parameters:
residualsAccepted- the percentage of residuals accepted in the OD to be set
-
getWeightedRMS
public double getWeightedRMS()Get the weighted Root Mean Square (RMS) of the residuals from a batch least squares OD.- Returns:
- the weighted Root Mean Square (RMS) of the residuals from a batch least squares OD
-
setWeightedRMS
public void setWeightedRMS(double WeightedRMS) Set the weighted Root Mean Square (RMS) of the residuals from a batch least squares OD.- Parameters:
WeightedRMS- the weighted Root Mean Square (RMS) of the residuals from a batch least squares OD
-
getOdEpoch
Get the epoch of the orbit determination used for this message.- Returns:
- the odEpoch the epoch of the orbit determination used for this message
-
setOdEpoch
Set the epoch of the orbit determination used for this message.- Parameters:
odEpoch- the odEpoch to set
-