Class TimeSpanEstimatedModel

  • All Implemented Interfaces:
    TroposphericModel, ParameterDriversProvider

    public class TimeSpanEstimatedModel
    extends Object
    implements TroposphericModel
    Time span estimated tropospheric model.

    This class is closely related to EstimatedModel class.
    The difference is that it has a TimeSpanMap of EstimatedModel objects as attribute.
    The idea behind this model is to allow the user to design a tropospheric model that can see its physical parameters (total zenith delay) change with time, at dates chosen by the user.

    Since:
    10.2
    Author:
    Bryan Cazabonne
    • Field Detail

      • DATE_BEFORE

        public static final String DATE_BEFORE
        Prefix for dates before in the tropospheric parameter drivers' name.
        See Also:
        Constant Field Values
      • DATE_AFTER

        public static final String DATE_AFTER
        Prefix for dates after in the tropospheric parameter drivers' name.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TimeSpanEstimatedModel

        @DefaultDataContext
        public TimeSpanEstimatedModel​(EstimatedModel model)
        Constructor with default UTC time scale.
        Parameters:
        model - the initial model which going to be used for all the models initialization.
      • TimeSpanEstimatedModel

        public TimeSpanEstimatedModel​(EstimatedModel model,
                                      TimeScale timeScale)
        Constructor with default UTC time scale.
        Parameters:
        model - the initial model which going to be used for all the models initialization.
        timeScale - timeScale Time scale used for the default names of the tropospheric parameter drivers
    • Method Detail

      • getParametersDrivers

        public List<ParameterDriver> getParametersDrivers()
        Get the drivers for parameters.

        All the parameter drivers of all Estimated models are returned in an array. Models are ordered chronologically.

        Specified by:
        getParametersDrivers in interface ParameterDriversProvider
        Returns:
        drivers for parameters
      • addTroposphericModelValidBefore

        public void addTroposphericModelValidBefore​(EstimatedModel model,
                                                    AbsoluteDate latestValidityDate)
        Add an EstimatedTroposphericModel entry valid before a limit date.
        Using addTroposphericValidBefore(entry, t) will make entry valid in ]-∞, t[ (note the open bracket).
        Parameters:
        model - EstimatedTroposphericModel entry
        latestValidityDate - date before which the entry is valid (must be different from all dates already used for transitions)
      • addTroposphericModelValidAfter

        public void addTroposphericModelValidAfter​(EstimatedModel model,
                                                   AbsoluteDate earliestValidityDate)
        Add a EstimatedTroposphericModel entry valid after a limit date.
        Using addTroposphericModelValidAfter(entry, t) will make entry valid in [t, +∞[ (note the closed bracket).
        Parameters:
        model - EstimatedTroposphericModel entry
        earliestValidityDate - date after which the entry is valid (must be different from all dates already used for transitions)
      • getTroposphericModel

        public EstimatedModel getTroposphericModel​(AbsoluteDate date)
        Get the EstimatedModel model valid at a date.
        Parameters:
        date - the date of validity
        Returns:
        the EstimatedTroposphericModel model valid at date
      • extractParameters

        public double[] extractParameters​(double[] parameters,
                                          AbsoluteDate date)
        Extract the proper parameter drivers' values from the array in input of the pathDelay method. Parameters are filtered given an input date.
        Parameters:
        parameters - the input parameters array
        date - the date
        Returns:
        the parameters given the date
      • extractParameters

        public <T extends CalculusFieldElement<T>> T[] extractParameters​(T[] parameters,
                                                                         FieldAbsoluteDate<T> date)
        Extract the proper parameter drivers' values from the array in input of the pathDelay method. Parameters are filtered given an input date.
        Type Parameters:
        T - extends CalculusFieldElements
        Parameters:
        parameters - the input parameters array
        date - the date
        Returns:
        the parameters given the date
      • pathDelay

        public TroposphericDelay pathDelay​(TrackingCoordinates trackingCoordinates,
                                           GeodeticPoint point,
                                           PressureTemperatureHumidity weather,
                                           double[] parameters,
                                           AbsoluteDate date)
        Calculates the tropospheric path delay for the signal path from a ground station to a satellite.
        Specified by:
        pathDelay in interface TroposphericModel
        Parameters:
        trackingCoordinates - tracking coordinates of the satellite
        point - station location
        weather - weather parameters for constant default values)
        parameters - tropospheric model parameters
        date - current date
        Returns:
        the path delay due to the troposphere