Class PythonShortTermEncounter2DPOCMethod
- java.lang.Object
-
- org.orekit.ssa.collision.shorttermencounter.probability.twod.PythonShortTermEncounter2DPOCMethod
-
- All Implemented Interfaces:
ShortTermEncounter2DPOCMethod
public class PythonShortTermEncounter2DPOCMethod extends Object implements ShortTermEncounter2DPOCMethod
-
-
Field Summary
Fields Modifier and Type Field Description protected long
pythonObject
Part of JCC Python interface to object-
Fields inherited from interface org.orekit.ssa.collision.shorttermencounter.probability.twod.ShortTermEncounter2DPOCMethod
DEFAULT_ZERO_THRESHOLD
-
-
Constructor Summary
Constructors Constructor Description PythonShortTermEncounter2DPOCMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProbabilityOfCollision
compute(double xm, double ym, double sigmaX, double sigmaY, double radius)
Compute the probability of collision using arguments specific to the rotated encounter frame.ProbabilityOfCollision
compute(Cdm cdm, double combinedRadius)
Compute the probability of collision using a Conjunction Data Message (CDM).<T extends CalculusFieldElement<T>>
FieldProbabilityOfCollision<T>compute(Cdm cdm, T combinedRadius, double zeroThreshold)
Compute the probability of collision using a Conjunction Data Message (CDM).<T extends CalculusFieldElement<T>>
FieldProbabilityOfCollision<T>compute(FieldOrbit<T> primaryAtTCA, FieldStateCovariance<T> primaryCovariance, FieldOrbit<T> secondaryAtTCA, FieldStateCovariance<T> secondaryCovariance, T combinedRadius, double zeroThreshold)
Compute the probability of collision using parameters necessary for creating acollision definition
instance.ProbabilityOfCollision
compute(Orbit primaryAtTCA, StateCovariance primaryCovariance, Orbit secondaryAtTCA, StateCovariance secondaryCovariance, double combinedRadius, double zeroThreshold)
Compute the probability of collision using parameters necessary for creating acollision definition
instance.<T extends CalculusFieldElement<T>>
FieldProbabilityOfCollision<T>compute(FieldShortTermEncounter2DDefinition<T> encounter, double zeroThreshold)
Compute the probability of collision using given collision definition.ProbabilityOfCollision
compute(ShortTermEncounter2DDefinition encounter, double zeroThreshold)
Compute the probability of collision using given collision definition.<T extends CalculusFieldElement<T>>
FieldProbabilityOfCollision<T>compute(T xm, T ym, T sigmaX, T sigmaY, T radius)
Compute the probability of collision using arguments specific to the rotated encounter frame.void
finalize()
String
getName()
Get name of the method.ShortTermEncounter2DPOCMethodType
getType()
Get type of the method.boolean
isAMaximumProbabilityOfCollisionMethod()
Get flag that defines if the method is a maximum probability of collision computing method.void
pythonDecRef()
long
pythonExtension()
void
pythonExtension(long pythonObject)
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
-
pythonExtension
public long pythonExtension()
-
finalize
public void finalize() throws Throwable
-
pythonDecRef
public void pythonDecRef()
-
compute
public ProbabilityOfCollision compute(Cdm cdm, double combinedRadius)
Description copied from interface:ShortTermEncounter2DPOCMethod
Compute the probability of collision using a Conjunction Data Message (CDM).- Specified by:
compute
in interfaceShortTermEncounter2DPOCMethod
- Parameters:
cdm
- conjunction data message inputcombinedRadius
- combined radius (m)- Returns:
- probability of collision
-
compute
public <T extends CalculusFieldElement<T>> FieldProbabilityOfCollision<T> compute(Cdm cdm, T combinedRadius, double zeroThreshold)
Description copied from interface:ShortTermEncounter2DPOCMethod
Compute the probability of collision using a Conjunction Data Message (CDM).- Specified by:
compute
in interfaceShortTermEncounter2DPOCMethod
- Type Parameters:
T
- type of the field elements- Parameters:
cdm
- conjunction data message inputcombinedRadius
- combined radius (m)zeroThreshold
- threshold below which values are considered equal to zero- Returns:
- probability of collision
-
compute
public ProbabilityOfCollision compute(Orbit primaryAtTCA, StateCovariance primaryCovariance, Orbit secondaryAtTCA, StateCovariance secondaryCovariance, double combinedRadius, double zeroThreshold)
Description copied from interface:ShortTermEncounter2DPOCMethod
Compute the probability of collision using parameters necessary for creating acollision definition
instance.- Specified by:
compute
in interfaceShortTermEncounter2DPOCMethod
- Parameters:
primaryAtTCA
- primary collision object spacecraft state at time of closest approachprimaryCovariance
- primary collision object covariancesecondaryAtTCA
- secondary collision object spacecraft state at time of closest approachsecondaryCovariance
- secondary collision object covariancecombinedRadius
- combined radius (m)zeroThreshold
- threshold below which values are considered equal to zero- Returns:
- probability of collision
-
compute
public <T extends CalculusFieldElement<T>> FieldProbabilityOfCollision<T> compute(FieldOrbit<T> primaryAtTCA, FieldStateCovariance<T> primaryCovariance, FieldOrbit<T> secondaryAtTCA, FieldStateCovariance<T> secondaryCovariance, T combinedRadius, double zeroThreshold)
Description copied from interface:ShortTermEncounter2DPOCMethod
Compute the probability of collision using parameters necessary for creating acollision definition
instance.- Specified by:
compute
in interfaceShortTermEncounter2DPOCMethod
- Type Parameters:
T
- type of the field elements- Parameters:
primaryAtTCA
- primary collision object spacecraft state at time of closest approachprimaryCovariance
- primary collision object covariancesecondaryAtTCA
- secondary collision object spacecraft state at time of closest approachsecondaryCovariance
- secondary collision object covariancecombinedRadius
- combined radius (m)zeroThreshold
- threshold below which values are considered equal to zero- Returns:
- probability of collision
-
compute
public ProbabilityOfCollision compute(ShortTermEncounter2DDefinition encounter, double zeroThreshold)
Description copied from interface:ShortTermEncounter2DPOCMethod
Compute the probability of collision using given collision definition.- Specified by:
compute
in interfaceShortTermEncounter2DPOCMethod
- Parameters:
encounter
- encounter definition between a primary and a secondary collision objectzeroThreshold
- threshold below which values are considered equal to zero- Returns:
- probability of collision
-
compute
public <T extends CalculusFieldElement<T>> FieldProbabilityOfCollision<T> compute(FieldShortTermEncounter2DDefinition<T> encounter, double zeroThreshold)
Description copied from interface:ShortTermEncounter2DPOCMethod
Compute the probability of collision using given collision definition.- Specified by:
compute
in interfaceShortTermEncounter2DPOCMethod
- Type Parameters:
T
- type of the field elements- Parameters:
encounter
- encounter definition between a primary and a secondary collision objectzeroThreshold
- threshold below which values are considered equal to zero- Returns:
- probability of collision
-
compute
public ProbabilityOfCollision compute(double xm, double ym, double sigmaX, double sigmaY, double radius)
Description copied from interface:ShortTermEncounter2DPOCMethod
Compute the probability of collision using arguments specific to the rotated encounter frame.The rotated encounter frame is define by the initial encounter frame (defined in
ShortTermEncounter2DDefinition
) rotated by the rotation matrix which is used to diagonalize the combined covariance matrix.- Specified by:
compute
in interfaceShortTermEncounter2DPOCMethod
- Parameters:
xm
- other collision object projected position onto the collision plane in the rotated encounter frame x-axis (m)ym
- other collision object projected position onto the collision plane in the rotated encounter frame y-axis (m)sigmaX
- square root of the x-axis eigen value of the diagonalized combined covariance matrix projected onto the collision plane (m)sigmaY
- square root of the y-axis eigen value of the diagonalized combined covariance matrix projected onto the collision plane (m)radius
- sum of primary and secondary collision object equivalent sphere radii (m)- Returns:
- probability of collision
-
compute
public <T extends CalculusFieldElement<T>> FieldProbabilityOfCollision<T> compute(T xm, T ym, T sigmaX, T sigmaY, T radius)
Description copied from interface:ShortTermEncounter2DPOCMethod
Compute the probability of collision using arguments specific to the rotated encounter frame.The rotated encounter frame is define by the initial encounter frame (defined in
ShortTermEncounter2DDefinition
) rotated by the rotation matrix which is used to diagonalize the combined covariance matrix.- Specified by:
compute
in interfaceShortTermEncounter2DPOCMethod
- Type Parameters:
T
- type of the field elements- Parameters:
xm
- other collision object projected position onto the collision plane in the rotated encounter frame x-axis (m)ym
- other collision object projected position onto the collision plane in the rotated encounter frame y-axis (m)sigmaX
- square root of the x-axis eigen value of the diagonalized combined covariance matrix projected onto the collision plane (m)sigmaY
- square root of the y-axis eigen value of the diagonalized combined covariance matrix projected onto the collision plane (m)radius
- sum of primary and secondary collision object equivalent sphere radii (m)- Returns:
- probability of collision
-
getType
public ShortTermEncounter2DPOCMethodType getType()
Description copied from interface:ShortTermEncounter2DPOCMethod
Get type of the method.- Specified by:
getType
in interfaceShortTermEncounter2DPOCMethod
- Returns:
- type of the method
-
getName
public String getName()
Description copied from interface:ShortTermEncounter2DPOCMethod
Get name of the method.- Specified by:
getName
in interfaceShortTermEncounter2DPOCMethod
- Returns:
- name of the method
-
isAMaximumProbabilityOfCollisionMethod
public boolean isAMaximumProbabilityOfCollisionMethod()
Description copied from interface:ShortTermEncounter2DPOCMethod
Get flag that defines if the method is a maximum probability of collision computing method.- Specified by:
isAMaximumProbabilityOfCollisionMethod
in interfaceShortTermEncounter2DPOCMethod
- Returns:
- flag that defines if the method is a maximum probability of collision computing method
-
-