public class CovarianceInterpolation extends Object
Constructor and Description |
---|
CovarianceInterpolation(AbsoluteDate t1In,
double[][] matrix1,
AbsoluteDate t2In,
double[][] matrix2,
int order,
Orbit orbitSatellite,
double muValue)
Constructor of the class CovarianceInterpolation
|
CovarianceInterpolation(AbsoluteDate t1In,
RealMatrix matrix1,
AbsoluteDate t2In,
RealMatrix matrix2,
int order,
Orbit orbitSatellite,
double muValue)
Constructor of the class CovarianceInterpolation
|
Modifier and Type | Method and Description |
---|---|
static double[][] |
createDiagonalArray(int dim,
double coef)
Creates a diagonal square matrix of dimension dim equals to coef * identity (dim)
|
static RealMatrix |
createDiagonalMatrix(int dim,
double coef)
Creates a diagonal square matrix of dimension dim equals to coef * identity (dim)
|
RealMatrix |
getFirstCovarianceMatrix() |
double |
getMu() |
Orbit |
getOrbit() |
int |
getPolynomialOrder() |
RealMatrix |
getSecondCovarianceMatrix() |
AbsoluteDate |
getT1() |
AbsoluteDate |
getT2() |
RealMatrix |
interpolate(AbsoluteDate t)
Computes the interpolation of a covariance matrix based on its two surrounding covariance matrices which define
the interpolation interval allowed.
|
double[][] |
interpolateArray(AbsoluteDate t)
Computes the interpolation of a covariance matrix based on its two surrounding covariance matrices which define
the interpolation interval allowed.
|
void |
setFirstCovarianceMatrix(RealMatrix covMatrix,
AbsoluteDate t)
Allows to change the CovarianceMatrix standing for the lower bound of the
interpolation interval, associated with t1.
|
void |
setMu(double newMu)
Allows to change the value of the gravitational parameter.
|
void |
setOrbit(Orbit newOrbit)
Allows to change the orbit.
|
void |
setPolynomialOrder(int order) |
void |
setSecondCovarianceMatrix(RealMatrix covMatrix,
AbsoluteDate t)
Allows to change the CovarianceMatrix standing for the upper bound of the
interpolation interval, associated with t2.
|
public CovarianceInterpolation(AbsoluteDate t1In, RealMatrix matrix1, AbsoluteDate t2In, RealMatrix matrix2, int order, Orbit orbitSatellite, double muValue) throws PatriusException
t1In
- : begining date of performed interpolationmatrix1
- : first covariance matrixt2In
- : ending date of performed interpolationmatrix2
- : second covariance matrixorder
- : Polynomial order of the interpolation, equals 0,1 or 2orbitSatellite
- : Orbit required to retrieve the PV coordinates of the satellitemuValue
- : Standard gravitational parameter, can be different from the one
contained in orbitSatellite, because the mu value for conversion can be different from
the mu value used for propagation.PatriusException
- DATE_OUTSIDE_INTERVAL or OUT_OF_RANGE_POLYNOMIAL_ORDERpublic CovarianceInterpolation(AbsoluteDate t1In, double[][] matrix1, AbsoluteDate t2In, double[][] matrix2, int order, Orbit orbitSatellite, double muValue) throws PatriusException
t1In
- : begining date of performed interpolationmatrix1
- : first covariance matrixt2In
- : ending date of performed interpolationmatrix2
- : second covariance matrixorder
- : Polynomial order of the interpolation, equals 0,1 or 2orbitSatellite
- : Orbit required to retrieve the PV coordinates of the satellitemuValue
- : Standard gravitational parameter, can be different from the one
contained in orbitSatellite, because the mu value for conversion can be different from
the mu value used for propagation.PatriusException
- DATE_OUTSIDE_INTERVAL or OUT_OF_RANGE_POLYNOMIAL_ORDERpublic RealMatrix interpolate(AbsoluteDate t) throws PatriusException
t
- : Interpolation datePatriusException
- if the date does not belong to the interpolation interval defined at the
construction of the instance through the two CovarianceMatrix entered as parameters.public double[][] interpolateArray(AbsoluteDate t) throws PatriusException
t
- : Interpolation datePatriusException
- if the date does not belong to the interpolation interval defined at the
construction of the instance through the two CovarianceMatrix entered as parameters.public static double[][] createDiagonalArray(int dim, double coef)
dim
- : dimension of the square matrixcoef
- : value of all the diagonal coefficients of the matrixpublic static RealMatrix createDiagonalMatrix(int dim, double coef)
dim
- : dimension of the square matrixcoef
- : value of all the diagonal coefficients of the matrixpublic void setFirstCovarianceMatrix(RealMatrix covMatrix, AbsoluteDate t)
covMatrix
- the new covariance matrix covarianceMatrix1t
- : setting date for the new covariance matrixpublic void setSecondCovarianceMatrix(RealMatrix covMatrix, AbsoluteDate t)
covMatrix
- the new covariance matrix covarianceMatrix2t
- : setting date for the new covariance matrixpublic void setPolynomialOrder(int order)
order
- the polynomial order to setpublic void setOrbit(Orbit newOrbit)
newOrbit
- the orbit to setpublic void setMu(double newMu)
newMu
- the mu value to setpublic RealMatrix getFirstCovarianceMatrix()
public RealMatrix getSecondCovarianceMatrix()
public int getPolynomialOrder()
public Orbit getOrbit()
public double getMu()
public AbsoluteDate getT1()
public AbsoluteDate getT2()
Copyright © 2021 CNES. All rights reserved.