public class CcsdsOrbitEphemerisMessageSegment extends DefinitionalObject
Ephemeris (and optionally covariance) data for an object that is valid for a given time period.
CcsdsOrbitEphemerisMessageSegment.createPoint()
can be used to make a PointInterpolator
that can interpolate
over the ephemeris data.
The CCSDS specifications can be found on the CCSDS website. The two supported formats for OEM files are Key-value notation (KVN) and extensible markup language (XML). The official recommended standards for KVN OEM files can be found in "Orbit Data Messages", Document CCSDS 502.0-B-2 on the above website. The official recommended standards for XML OEM files can be found in "XML Specifications for Navigation Data Messages", Document CCSDS 505.0-B-2 on the website. Both documents also contain a few useful examples of correctly formatted OEM files for their respective formats.
Modifier | Constructor and Description |
---|---|
|
CcsdsOrbitEphemerisMessageSegment()
Initializes a new instance.
|
protected |
CcsdsOrbitEphemerisMessageSegment(CcsdsOrbitEphemerisMessageSegment existingInstance,
CopyContext context)
Initializes a new instance as a copy of an existing instance.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkForSameDefinition(CcsdsOrbitEphemerisMessageSegment other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
protected boolean |
checkForSameDefinition(DefinitionalObject other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
Object |
clone(CopyContext context)
Clones this object using the specified context.
|
protected int |
computeCurrentDefinitionHashCode()
Computes a hash code based on the current properties of this object.
|
Point |
createPoint()
Creates a
Point whose time-varying position is computed by interpolating
over the ephemeris data held by this instance. |
void |
enumerateDependencies(DependencyEnumerator enumerator)
Enumerates the dependencies of this object by calling
DependencyEnumerator#enumerate(T) for each object that this object directly depends upon. |
String |
getCenter()
|
DateMotionCollection1<Axes> |
getCovarianceAxes()
Gets or sets a collection containing the axes of the covariance data.
|
DateMotionCollection1<String> |
getCovarianceAxesNames()
Gets a collection containing names for covariance axes that
are different from those of the reference frame.
|
DateMotionCollection1<Matrix6By6Symmetric> |
getCovarianceData()
Gets the covariance data.
|
ArrayList<String> |
getCovarianceDataComments()
Gets a collection containing comments from
the covariance data of a segment of a CCSDS OEM file.
|
DateMotionCollection1<Cartesian> |
getEphemerisData()
Gets the ephemeris data.
|
ArrayList<String> |
getEphemerisDataComments()
Gets a collection containing comments from
the ephemeris data of a segment of a CCSDS OEM file.
|
CcsdsInterpolationMethod |
getInterpolationMethod()
Gets the optional interpolation method for the ephemeris data
immediately following the metadata block.
|
int |
getInterpolationOrder()
Gets the interpolation order for the ephemeris data
immediately following the metadata block.
|
TranslationalMotionInterpolator |
getInterpolator()
Gets or sets an interpolator for the ephemeris data.
|
ArrayList<String> |
getMetaDataComments()
Gets a collection containing comments from
the metadata of a segment of a CCSDS OEM file.
|
String |
getObjectId()
Gets the object identifier for which the
ephemeris is provided.
|
String |
getObjectName()
Gets the name of the object for which the
ephemeris is provided.
|
ReferenceFrame |
getReferenceFrame()
Gets or sets the reference frame in which the ephemeris data is given.
|
JulianDate |
getReferenceFrameEpoch()
Gets the epoch of reference frame, if not
intrinsic to the definition of the reference frame.
|
String |
getReferenceFrameName()
Gets or sets the name of the reference frame in which the
ephemeris data are given.
|
CcsdsReferenceFrameType |
getReferenceFrameType()
Gets the type of the reference frame.
|
JulianDate |
getStartTime()
Gets the start of total time span covered by the ephemeris data and
covariance data immediately following the metadata block.
|
JulianDate |
getStopTime()
Gets the end of total time span covered by ephemeris data and covariance
data immediately following the metadata block.
|
TimeStandard |
getTimeStandard()
Gets or sets the time standard used for metadata, ephemeris data,
and covariance data.
|
JulianDate |
getUseableStartTime()
Gets or sets the optional start of useable time span covered by ephemeris
data immediately following the metadata block.
|
JulianDate |
getUseableStopTime()
Gets or sets the optional end of useable time span covered by ephemeris
data immediately following the metadata block.
|
void |
setCenter(String value)
|
void |
setCovarianceAxes(DateMotionCollection1<Axes> value)
Gets or sets a collection containing the axes of the covariance data.
|
void |
setCovarianceAxesNames(DateMotionCollection1<String> value)
Sets a collection containing names for covariance axes that
are different from those of the reference frame.
|
void |
setCovarianceData(DateMotionCollection1<Matrix6By6Symmetric> value)
Sets the covariance data.
|
void |
setEphemerisData(DateMotionCollection1<Cartesian> value)
Sets the ephemeris data.
|
void |
setInterpolationMethod(CcsdsInterpolationMethod value)
Sets the optional interpolation method for the ephemeris data
immediately following the metadata block.
|
void |
setInterpolationOrder(int value)
Sets the interpolation order for the ephemeris data
immediately following the metadata block.
|
void |
setInterpolator(TranslationalMotionInterpolator value)
Gets or sets an interpolator for the ephemeris data.
|
void |
setObjectId(String value)
Sets the object identifier for which the
ephemeris is provided.
|
void |
setObjectName(String value)
Sets the name of the object for which the
ephemeris is provided.
|
void |
setReferenceFrame(ReferenceFrame value)
Gets or sets the reference frame in which the ephemeris data is given.
|
void |
setReferenceFrameEpoch(JulianDate value)
Sets the epoch of reference frame, if not
intrinsic to the definition of the reference frame.
|
void |
setReferenceFrameName(String value)
Gets or sets the name of the reference frame in which the
ephemeris data are given.
|
void |
setReferenceFrameType(CcsdsReferenceFrameType value)
Sets the type of the reference frame.
|
void |
setStartTime(JulianDate value)
Sets the start of total time span covered by the ephemeris data and
covariance data immediately following the metadata block.
|
void |
setStopTime(JulianDate value)
Sets the end of total time span covered by ephemeris data and covariance
data immediately following the metadata block.
|
void |
setTimeStandard(TimeStandard value)
Gets or sets the time standard used for metadata, ephemeris data,
and covariance data.
|
void |
setUseableStartTime(JulianDate value)
Gets or sets the optional start of useable time span covered by ephemeris
data immediately following the metadata block.
|
void |
setUseableStopTime(JulianDate value)
Gets or sets the optional end of useable time span covered by ephemeris
data immediately following the metadata block.
|
areSameDefinition, areSameDefinition, areSameDefinition, areSameDefinition, areSameDefinition, collectionItemsAreSameDefinition, collectionItemsAreSameDefinition, collectionItemsAreSameDefinition, dictionaryItemsAreSameDefinition, freeze, freezeAggregatedObjects, getCollectionHashCode, getCollectionHashCode, getCollectionHashCode, getDefinitionHashCode, getDefinitionHashCode, getDefinitionHashCode, getDefinitionHashCode, getDefinitionHashCode, getDefinitionHashCode, getDictionaryHashCode, getIsFrozen, isSameDefinition, throwIfFrozen
public CcsdsOrbitEphemerisMessageSegment()
protected CcsdsOrbitEphemerisMessageSegment(@Nonnull CcsdsOrbitEphemerisMessageSegment existingInstance, @Nonnull CopyContext context)
See ICloneWithContext.clone(CopyContext)
for more information about how to implement this constructor
in a derived class.
existingInstance
- The existing instance to copy.context
- A CopyContext
that controls the depth of the copy.ArgumentNullException
- Thrown when existingInstance
or context
is null
.public Object clone(CopyContext context)
This method should be implemented to call a copy constructor on the class of the
object being cloned. The copy constructor should take the CopyContext
as a parameter
in addition to the existing instance to copy. The copy constructor should first call
CopyContext.addObjectMapping(T, T)
to identify the newly constructed instance
as a copy of the existing instance. It should then copy all fields, using
CopyContext.updateReference(T)
to copy any reference fields.
A typical implementation of ICloneWithContext
:
public static class MyClass implements ICloneWithContext {
public MyClass(MyClass existingInstance, CopyContext context) {
context.addObjectMapping(existingInstance, this);
someReference = context.updateReference(existingInstance.someReference);
}
@Override
public final Object clone(CopyContext context) {
return new MyClass(this, context);
}
private Object someReference;
}
In general, all fields that are reference types should be copied with a call to
CopyContext.updateReference(T)
. There are a couple of exceptions:
If one of these exceptions applies, the CopyContext
should be given an opportunity
to update the reference before the reference is copied explicitly. Use
CopyContext.updateReference(T)
to update the reference. If CopyContext.updateReference(T)
returns
the original object, indicating that the context does not have a replacement registered,
then copy the object manually by invoking a Clone method, a copy constructor, or by manually
constructing a new instance and copying the values.
alwaysCopy = context.updateReference(existingInstance.alwaysCopy);
if (existingInstance.alwaysCopy != null && alwaysCopy == existingInstance.alwaysCopy) {
alwaysCopy = (AlwaysCopy) existingInstance.alwaysCopy.clone(context);
}
If you are implementing an evaluator (a class that implements IEvaluator
), the
IEvaluator.updateEvaluatorReferences(agi.foundation.infrastructure.CopyContext)
method shares some responsibilities with the
copy context constructor. Code duplication can be avoided by doing the following:
CopyContext.updateReference(T)
. You should still call CopyContext.updateReference(T)
on any references to
non-evaluators.
IEvaluator.updateEvaluatorReferences(agi.foundation.infrastructure.CopyContext)
as the last line in the constructor and pass it the
same CopyContext
passed to the constructor.
IEvaluator.updateEvaluatorReferences(agi.foundation.infrastructure.CopyContext)
as normal. See the reference documentation for
IEvaluator.updateEvaluatorReferences(agi.foundation.infrastructure.CopyContext)
for more information on implementing that method.
public MyClass(MyClass existingInstance, CopyContext context) {
super(existingInstance, context);
someReference = context.updateReference(existingInstance.someReference);
evaluatorReference = existingInstance.evaluatorReference;
updateEvaluatorReferences(context);
}
@Override
public void updateEvaluatorReferences(CopyContext context) {
evaluatorReference = context.updateReference(evaluatorReference);
}
@Override
public Object clone(CopyContext context) {
return new MyClass(this, context);
}
private Object someReference;
private IEvaluator evaluatorReference;
clone
in interface ICloneWithContext
clone
in class DefinitionalObject
context
- The context to use to perform the copy.protected final boolean checkForSameDefinition(DefinitionalObject other)
true
if it does. Derived classes MUST override this method and check
all new fields introduced by the derived class for definitional equivalence. It is NOT necessary
to check base class fields because the base class will already have done that. When overriding this method,
you should NOT call the base implementation because it will return false
for all derived-class instances.
Derived classes should check the type of other
to preserve the symmetric nature of IEquatableDefinition.isSameDefinition(java.lang.Object)
.checkForSameDefinition
in class DefinitionalObject
other
- The other instance to compare to this one.true
if the two objects are defined equivalently; otherwise false
.protected boolean checkForSameDefinition(@Nullable CcsdsOrbitEphemerisMessageSegment other)
true
if it does. Derived classes MUST override this method and check
all new fields introduced by the derived class for definitional equivalence. It is NOT necessary
to check base class fields because the base class will already have done that. When overriding this method,
you should NOT call the base implementation because it will return false
for all derived-class instances.
Derived classes should check the type of other
to preserve the symmetric nature of IEquatableDefinition.isSameDefinition(java.lang.Object)
.other
- The other instance to compare to this one.true
if the two objects are defined equivalently; otherwise false
.protected int computeCurrentDefinitionHashCode()
CcsdsOrbitEphemerisMessageSegment.checkForSameDefinition(agi.foundation.infrastructure.DefinitionalObject)
method.computeCurrentDefinitionHashCode
in class DefinitionalObject
public void enumerateDependencies(DependencyEnumerator enumerator)
DependencyEnumerator#enumerate(T)
for each object that this object directly depends upon.
Derived classes which contain additional dependencies MUST override this method, call the base
implementation, and enumerate dependencies introduced by the derived class.enumerateDependencies
in interface IEnumerateDependencies
enumerateDependencies
in class DefinitionalObject
enumerator
- The enumerator that is informed of the dependencies of this object.@Nonnull public final ArrayList<String> getMetaDataComments()
@Nonnull public final ArrayList<String> getEphemerisDataComments()
@Nonnull public final ArrayList<String> getCovarianceDataComments()
public final String getObjectName()
public final void setObjectName(String value)
public final String getObjectId()
public final void setObjectId(String value)
public final String getCenter()
public final void setCenter(String value)
public final String getReferenceFrameName()
Gets or sets the name of the reference frame in which the ephemeris data are given.
The reference frame must be the same for all data elements, with the exception of the covariance matrix, for which an applicable different reference frame may be specified.
public final void setReferenceFrameName(String value)
Gets or sets the name of the reference frame in which the ephemeris data are given.
The reference frame must be the same for all data elements, with the exception of the covariance matrix, for which an applicable different reference frame may be specified.
@Nullable public final JulianDate getReferenceFrameEpoch()
public final void setReferenceFrameEpoch(@Nullable JulianDate value)
@Nullable public final ReferenceFrame getReferenceFrame()
Gets or sets the reference frame in which the ephemeris data is given.
This value is not provided automatically by CcsdsOrbitEphemerisMessageFile.readFrom(String)
because the reference frames given in OEM metadata are not necessarily supported as ReferenceFrame
(get
/ set
)
objects.
If this is not provided by the user, an attempt will be made to infer the reference frame from the
given center, reference frame, and reference frame epoch data. If this attempt fails,
null
will be returned.
The reference frame inference attempts to associate center names and reference frame names from
the SANA website
with ReferenceFrame
(get
/ set
)
available from the CentralBody
, SolarSystemBarycenter
, and
PlanetarySystemBarycenter
types. Only a subset of the SANA reference frames
are supported, so it may be necessary for the user to manually create their own reference frames.
The supported reference frames for Earth are listed below:
AxesFixedAtJulianDate
from the
Axes
(get
/ set
) of the FixedFrame
(get
/ set
) at the
ReferenceFrameEpoch
(get
/ set
) (which cannot be null
). Those axes are then
centered at the CenterOfMassPoint
(get
/ set
).
InternationalCelestialReferenceFrame
(get
/ set
).
J2000Frame
(get
/ set
).
Axes
(get
/ set
) of
J2000Frame
(get
/ set
) by 84381.448 arc-seconds about its x-axis (Vernal equinox
direction). Those axes are then centered at the CenterOfMassPoint
(get
/ set
).
MeanEquatorMeanEquinoxFrame
(get
/ set
).
TrueEquatorMeanEquinoxFrame
(get
/ set
).
AxesFixedAtJulianDate
from the
Axes
(get
/ set
) of the TrueEquatorMeanEquinoxFrame
(get
/ set
)
at the ReferenceFrameEpoch
(get
/ set
) (which cannot be null
). Those axes are then
centered at the CenterOfMassPoint
(get
/ set
).
TrueEquatorTrueEquinoxFrame
(get
/ set
).
FixedFrame
(get
/ set
).
PseudoFixedFrame
(get
/ set
).
The supported reference frames for most CentralBody
derived types are as follows:
FixedFrame
(get
/ set
) of the body.
InertialFrame
(get
/ set
) of the body.
The Sun also has a J2000 and J2000_ECLIPTIC frames whose axes are defined in the same manner as those of the Earth
with the CenterOfMassPoint
(get
/ set
) as the center point.
The MCI frame is defined as the InertialFrame
(get
/ set
) of MarsCentralBody
.
INERTIAL and INERTIAL_CB can also be mapped to the inertial frames of the SolarSystemBarycenter
or one of the PlanetarySystemBarycenters
if the Center
(get
/ set
)
is one of the supported barycenters. Note that MERCURY BARYCENTER and VENUS BARYCENTER are not supported. It is
suggested that Center
(get
/ set
) be manually changed to MERCURY or VENUS under those circumstances.
public final void setReferenceFrame(@Nullable ReferenceFrame value)
Gets or sets the reference frame in which the ephemeris data is given.
This value is not provided automatically by CcsdsOrbitEphemerisMessageFile.readFrom(String)
because the reference frames given in OEM metadata are not necessarily supported as ReferenceFrame
(get
/ set
)
objects.
If this is not provided by the user, an attempt will be made to infer the reference frame from the
given center, reference frame, and reference frame epoch data. If this attempt fails,
null
will be returned.
The reference frame inference attempts to associate center names and reference frame names from
the SANA website
with ReferenceFrame
(get
/ set
)
available from the CentralBody
, SolarSystemBarycenter
, and
PlanetarySystemBarycenter
types. Only a subset of the SANA reference frames
are supported, so it may be necessary for the user to manually create their own reference frames.
The supported reference frames for Earth are listed below:
AxesFixedAtJulianDate
from the
Axes
(get
/ set
) of the FixedFrame
(get
/ set
) at the
ReferenceFrameEpoch
(get
/ set
) (which cannot be null
). Those axes are then
centered at the CenterOfMassPoint
(get
/ set
).
InternationalCelestialReferenceFrame
(get
/ set
).
J2000Frame
(get
/ set
).
Axes
(get
/ set
) of
J2000Frame
(get
/ set
) by 84381.448 arc-seconds about its x-axis (Vernal equinox
direction). Those axes are then centered at the CenterOfMassPoint
(get
/ set
).
MeanEquatorMeanEquinoxFrame
(get
/ set
).
TrueEquatorMeanEquinoxFrame
(get
/ set
).
AxesFixedAtJulianDate
from the
Axes
(get
/ set
) of the TrueEquatorMeanEquinoxFrame
(get
/ set
)
at the ReferenceFrameEpoch
(get
/ set
) (which cannot be null
). Those axes are then
centered at the CenterOfMassPoint
(get
/ set
).
TrueEquatorTrueEquinoxFrame
(get
/ set
).
FixedFrame
(get
/ set
).
PseudoFixedFrame
(get
/ set
).
The supported reference frames for most CentralBody
derived types are as follows:
FixedFrame
(get
/ set
) of the body.
InertialFrame
(get
/ set
) of the body.
The Sun also has a J2000 and J2000_ECLIPTIC frames whose axes are defined in the same manner as those of the Earth
with the CenterOfMassPoint
(get
/ set
) as the center point.
The MCI frame is defined as the InertialFrame
(get
/ set
) of MarsCentralBody
.
INERTIAL and INERTIAL_CB can also be mapped to the inertial frames of the SolarSystemBarycenter
or one of the PlanetarySystemBarycenters
if the Center
(get
/ set
)
is one of the supported barycenters. Note that MERCURY BARYCENTER and VENUS BARYCENTER are not supported. It is
suggested that Center
(get
/ set
) be manually changed to MERCURY or VENUS under those circumstances.
@Nonnull public final CcsdsReferenceFrameType getReferenceFrameType()
public final void setReferenceFrameType(@Nonnull CcsdsReferenceFrameType value)
public final TimeStandard getTimeStandard()
Gets or sets the time standard used for metadata, ephemeris data, and covariance data.
The valid values for CCSDS time systems are given by
the SANA website. Only time systems that
are compatible with the available TimeStandard
(get
/ set
)
can be read by CcsdsOrbitEphemerisMessageFile.readFrom(String)
.
The mapping of CCSDS time systems from the Space Assigned Numbers Authority (SANA)
to TimeStandard
(get
/ set
) is as follows:
public final void setTimeStandard(TimeStandard value)
Gets or sets the time standard used for metadata, ephemeris data, and covariance data.
The valid values for CCSDS time systems are given by
the SANA website. Only time systems that
are compatible with the available TimeStandard
(get
/ set
)
can be read by CcsdsOrbitEphemerisMessageFile.readFrom(String)
.
The mapping of CCSDS time systems from the Space Assigned Numbers Authority (SANA)
to TimeStandard
(get
/ set
) is as follows:
@Nonnull public final JulianDate getStartTime()
public final void setStartTime(@Nonnull JulianDate value)
@Nullable public final JulianDate getUseableStartTime()
Gets or sets the optional start of useable time span covered by ephemeris data immediately following the metadata block.
Note that this value is ignored by CcsdsOrbitEphemerisMessageSegment.createPoint()
.
public final void setUseableStartTime(@Nullable JulianDate value)
Gets or sets the optional start of useable time span covered by ephemeris data immediately following the metadata block.
Note that this value is ignored by CcsdsOrbitEphemerisMessageSegment.createPoint()
.
@Nullable public final JulianDate getUseableStopTime()
Gets or sets the optional end of useable time span covered by ephemeris data immediately following the metadata block.
Note that this value is ignored by CcsdsOrbitEphemerisMessageSegment.createPoint()
.
public final void setUseableStopTime(@Nullable JulianDate value)
Gets or sets the optional end of useable time span covered by ephemeris data immediately following the metadata block.
Note that this value is ignored by CcsdsOrbitEphemerisMessageSegment.createPoint()
.
@Nonnull public final JulianDate getStopTime()
public final void setStopTime(@Nonnull JulianDate value)
@Nonnull public final CcsdsInterpolationMethod getInterpolationMethod()
public final void setInterpolationMethod(@Nonnull CcsdsInterpolationMethod value)
public final int getInterpolationOrder()
public final void setInterpolationOrder(int value)
@Nullable public final TranslationalMotionInterpolator getInterpolator()
Gets or sets an interpolator for the ephemeris data.
This value is not provided automatically by CcsdsOrbitEphemerisMessageFile.readFrom(String)
because the interpolation information is optional.
If this is not provided by the user, an attempt will be made to build an interpolator from the
given interpolation method, interpolation order, and ephemeris data. If this attempt fails,
null
will be returned. The user would then have to build an interpolator manually.
public final void setInterpolator(@Nullable TranslationalMotionInterpolator value)
Gets or sets an interpolator for the ephemeris data.
This value is not provided automatically by CcsdsOrbitEphemerisMessageFile.readFrom(String)
because the interpolation information is optional.
If this is not provided by the user, an attempt will be made to build an interpolator from the
given interpolation method, interpolation order, and ephemeris data. If this attempt fails,
null
will be returned. The user would then have to build an interpolator manually.
public final DateMotionCollection1<Cartesian> getEphemerisData()
Note that these are converted from km in OEM files to meters for storage. Writing new OEM files converts them back to km.
public final void setEphemerisData(DateMotionCollection1<Cartesian> value)
Note that these are converted from km in OEM files to meters for storage. Writing new OEM files converts them back to km.
@Nonnull public final DateMotionCollection1<Matrix6By6Symmetric> getCovarianceData()
Note that these are converted from km^2, km^2/s, and km^2/s^2 in OEM files to m^2, m^2/s, and m^2/s^2 for storage. Writing new OEM files converts them back to km^2, km^2/s, and km^2/s^2.
public final void setCovarianceData(@Nonnull DateMotionCollection1<Matrix6By6Symmetric> value)
Note that these are converted from km^2, km^2/s, and km^2/s^2 in OEM files to m^2, m^2/s, and m^2/s^2 for storage. Writing new OEM files converts them back to km^2, km^2/s, and km^2/s^2.
@Nonnull public final DateMotionCollection1<String> getCovarianceAxesNames()
public final void setCovarianceAxesNames(@Nonnull DateMotionCollection1<String> value)
@Nullable public final DateMotionCollection1<Axes> getCovarianceAxes()
Gets or sets a collection containing the axes of the covariance data.
This collection is not provided automatically by CcsdsOrbitEphemerisMessageFile.readFrom(String)
because the axes provided with OEM covariance data are optional, and they are not necessarily supported as
Axes
objects.
If this is not provided by the user, an attempt will be made to build a collection of axes from the axes of
given reference frame, the covariance axes names collection, and other data provided by the OEM file.
If this attempt fails, null
will be returned. The user would then have to build this
collection manually.
Note that this data is not required by CcsdsOrbitEphemerisMessageSegment.createPoint()
.
All the reference frames supported in the remarks of ReferenceFrame
(get
/ set
) are also supported.
Additionally, several of the Orbit-Relative Reference Frames available at
the SANA website are supported.
Because these frames are orbit relative, the inference algorithm attempts to use CcsdsOrbitEphemerisMessageSegment.createPoint()
to generate
the orbit that is used to define the coordinates. If CcsdsOrbitEphemerisMessageSegment.createPoint()
fails by throwing an exception,
then null
will be returned. Additionally, a CentralBody
must be able to be
inferred from Center
(get
/ set
) in order for the inference to work.
All the orbit relative systems other than SEZ/SEZ_ROTATING use the non-null ReferenceFrame
(get
/ set
) if the
ReferenceFrameType
(get
/ set
) is CcsdsReferenceFrameType.INERTIAL
. Otherwise, they use
the InertialFrame
(get
/ set
) of the CentralBody
.
ReferenceFrame
(get
/ set
) if the ReferenceFrameType
(get
/ set
) is
CcsdsReferenceFrameType.FIXED
. Otherwise, they use the FixedFrame
(get
/ set
)
of the CentralBody
.
public final void setCovarianceAxes(@Nullable DateMotionCollection1<Axes> value)
Gets or sets a collection containing the axes of the covariance data.
This collection is not provided automatically by CcsdsOrbitEphemerisMessageFile.readFrom(String)
because the axes provided with OEM covariance data are optional, and they are not necessarily supported as
Axes
objects.
If this is not provided by the user, an attempt will be made to build a collection of axes from the axes of
given reference frame, the covariance axes names collection, and other data provided by the OEM file.
If this attempt fails, null
will be returned. The user would then have to build this
collection manually.
Note that this data is not required by CcsdsOrbitEphemerisMessageSegment.createPoint()
.
All the reference frames supported in the remarks of ReferenceFrame
(get
/ set
) are also supported.
Additionally, several of the Orbit-Relative Reference Frames available at
the SANA website are supported.
Because these frames are orbit relative, the inference algorithm attempts to use CcsdsOrbitEphemerisMessageSegment.createPoint()
to generate
the orbit that is used to define the coordinates. If CcsdsOrbitEphemerisMessageSegment.createPoint()
fails by throwing an exception,
then null
will be returned. Additionally, a CentralBody
must be able to be
inferred from Center
(get
/ set
) in order for the inference to work.
All the orbit relative systems other than SEZ/SEZ_ROTATING use the non-null ReferenceFrame
(get
/ set
) if the
ReferenceFrameType
(get
/ set
) is CcsdsReferenceFrameType.INERTIAL
. Otherwise, they use
the InertialFrame
(get
/ set
) of the CentralBody
.
ReferenceFrame
(get
/ set
) if the ReferenceFrameType
(get
/ set
) is
CcsdsReferenceFrameType.FIXED
. Otherwise, they use the FixedFrame
(get
/ set
)
of the CentralBody
.
@Nonnull public final Point createPoint()
Creates a Point
whose time-varying position is computed by interpolating
over the ephemeris data held by this instance.
If the ReferenceFrame
(get
/ set
) or Interpolator
(get
/ set
) is not provided by the user,
an attempt will be made to infer those values from the available information in other properties.
If that attempt fails, a PropertyInvalidException
will be thrown.