Class CPF

    • Field Detail

      • DEFAULT_ID

        public static final String DEFAULT_ID
        Default satellite ID, used if header is null when initializing the ephemeris.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CPF

        public CPF()
        Constructor.
    • Method Detail

      • getHeader

        public CPFHeader getHeader()
        Get the CPF file header.
        Returns:
        the CPF file header
      • getTimeScale

        public TimeScale getTimeScale()
        Get the time scale used in CPF file.
        Returns:
        the time scale used to parse epochs in CPF file.
      • getComments

        public List<String> getComments()
        Get the comments contained in the file.
        Returns:
        the comments contained in the file
      • addSatelliteCoordinates

        public void addSatelliteCoordinates​(String id,
                                            List<CPF.CPFCoordinate> coord)
        Adds a set of P/V coordinates to the satellite.
        Parameters:
        id - satellite ILRS identifier
        coord - set of coordinates
        Since:
        11.0.1
      • addSatelliteCoordinate

        public void addSatelliteCoordinate​(String id,
                                           CPF.CPFCoordinate coord)
        Add a new P/V coordinates to the satellite.
        Parameters:
        id - satellite ILRS identifier
        coord - the P/V coordinate of the satellite
        Since:
        11.0.1
      • addSatelliteVelocityToCPFCoordinate

        public void addSatelliteVelocityToCPFCoordinate​(String id,
                                                        Vector3D velocity)
        Add the velocity to the last CPF coordinate entry.
        Parameters:
        id - satellite ILRS identifier
        velocity - the velocity vector of the satellite
        Since:
        11.2
      • setInterpolationSample

        public void setInterpolationSample​(int interpolationSample)
        Set the interpolation sample.
        Parameters:
        interpolationSample - interpolation sample
      • setMu

        public void setMu​(double mu)
        Set the gravitational coefficient.
        Parameters:
        mu - the coefficient to be set
      • setTimeScale

        public void setTimeScale​(TimeScale timeScale)
        Set the time scale.
        Parameters:
        timeScale - use to parse dates in this file.
      • setFilter

        public void setFilter​(CartesianDerivativesFilter filter)
        Set the derivatives filter.
        Parameters:
        filter - that indicates which derivatives of position are available.