Class PythonShortTermEncounter2DPOCMethod

    • Field Detail

      • pythonObject

        protected long pythonObject
        Part of JCC Python interface to object
    • Constructor Detail

      • PythonShortTermEncounter2DPOCMethod

        public PythonShortTermEncounter2DPOCMethod()
    • Method Detail

      • pythonExtension

        public void pythonExtension​(long pythonObject)
      • pythonExtension

        public long pythonExtension()
      • pythonDecRef

        public void pythonDecRef()
      • 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 interface ShortTermEncounter2DPOCMethod
        Type Parameters:
        T - type of the field elements
        Parameters:
        cdm - conjunction data message input
        combinedRadius - 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 a collision definition instance.
        Specified by:
        compute in interface ShortTermEncounter2DPOCMethod
        Parameters:
        primaryAtTCA - primary collision object spacecraft state at time of closest approach
        primaryCovariance - primary collision object covariance
        secondaryAtTCA - secondary collision object spacecraft state at time of closest approach
        secondaryCovariance - secondary collision object covariance
        combinedRadius - 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 a collision definition instance.
        Specified by:
        compute in interface ShortTermEncounter2DPOCMethod
        Type Parameters:
        T - type of the field elements
        Parameters:
        primaryAtTCA - primary collision object spacecraft state at time of closest approach
        primaryCovariance - primary collision object covariance
        secondaryAtTCA - secondary collision object spacecraft state at time of closest approach
        secondaryCovariance - secondary collision object covariance
        combinedRadius - combined radius (m)
        zeroThreshold - 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 interface ShortTermEncounter2DPOCMethod
        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 interface ShortTermEncounter2DPOCMethod
        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