public class CartesianCovariance extends CommentsContainer implements Data
Constructor and Description |
---|
CartesianCovariance(Supplier<FrameFacade> defaultFrameSupplier)
Create an empty data set.
|
Modifier and Type | Method and Description |
---|---|
RealMatrix |
getCovarianceMatrix()
Get the Position/Velocity covariance matrix.
|
AbsoluteDate |
getEpoch()
Get matrix epoch.
|
FrameFacade |
getReferenceFrame()
Get the reference frame.
|
void |
setCovarianceMatrixEntry(int j,
int k,
double entry)
Set an entry in the Position/Velocity covariance matrix.
|
void |
setEpoch(AbsoluteDate epoch)
Set matrix epoch.
|
void |
setReferenceFrame(FrameFacade referenceFrame)
Set the reference frame in which data are given.
|
void |
validate(double version)
Check is all mandatory entries have been initialized.
|
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments
public CartesianCovariance(Supplier<FrameFacade> defaultFrameSupplier)
defaultFrameSupplier
- supplier for default reference frame
if no frame is specified in the CCSDS messagepublic void validate(double version)
This method should throw an exception if some mandatory entries are missing or not compatible with version number.
validate
in interface Section
validate
in class CommentsContainer
version
- format versionpublic AbsoluteDate getEpoch()
public void setEpoch(AbsoluteDate epoch)
epoch
- matrix epochpublic FrameFacade getReferenceFrame()
COV_REF_FRAME
keyword
or inherited from metadatapublic void setReferenceFrame(FrameFacade referenceFrame)
referenceFrame
- the reference frame to be setpublic RealMatrix getCovarianceMatrix()
public void setCovarianceMatrixEntry(int j, int k, double entry)
Both m(j, k) and m(k, j) are set.
j
- row index (must be between 0 and 5 (inclusive)k
- column index (must be between 0 and 5 (inclusive)entry
- value of the matrix entryCopyright © 2002-2022 CS GROUP. All rights reserved.