GNSSClockElements.java

  1. /* Copyright 2002-2024 CS GROUP
  2.  * Licensed to CS GROUP (CS) under one or more
  3.  * contributor license agreements.  See the NOTICE file distributed with
  4.  * this work for additional information regarding copyright ownership.
  5.  * CS licenses this file to You under the Apache License, Version 2.0
  6.  * (the "License"); you may not use this file except in compliance with
  7.  * the License.  You may obtain a copy of the License at
  8.  *
  9.  *   http://www.apache.org/licenses/LICENSE-2.0
  10.  *
  11.  * Unless required by applicable law or agreed to in writing, software
  12.  * distributed under the License is distributed on an "AS IS" BASIS,
  13.  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14.  * See the License for the specific language governing permissions and
  15.  * limitations under the License.
  16.  */
  17. package org.orekit.propagation.analytical.gnss.data;

  18. import org.orekit.time.TimeStamped;

  19. /**This interface provides the minimal set of orbital elements needed by the
  20.  * {@link org.orekit.propagation.analytical.gnss.ClockCorrectionsProvider}.
  21. *
  22. * @author Pascal Parraud
  23. * @since 11.0
  24. */
  25. public interface GNSSClockElements extends TimeStamped {

  26.     /**
  27.      * Gets the Zeroth Order Clock Correction.
  28.      *
  29.      * @return the Zeroth Order Clock Correction (s)
  30.      * @see #getAf1()
  31.      * @see #getAf2()
  32.      * @see #getToc()
  33.      */
  34.     double getAf0();

  35.     /**
  36.      * Gets the First Order Clock Correction.
  37.      *
  38.      * @return the First Order Clock Correction (s/s)
  39.      * @see #getAf0()
  40.      * @see #getAf2()
  41.      * @see #getToc()
  42.      */
  43.     double getAf1();

  44.     /**
  45.      * Gets the Second Order Clock Correction.
  46.      *
  47.      * @return the Second Order Clock Correction (s/s²)
  48.      * @see #getAf0()
  49.      * @see #getAf1()
  50.      * @see #getToc()
  51.      */
  52.     double getAf2();

  53.     /**
  54.      * Gets the estimated group delay differential TGD for L1-L2 correction.
  55.      *
  56.      * @return the estimated group delay differential TGD for L1-L2 correction (s)
  57.      */
  58.     double getTGD();

  59.     /**
  60.      * Gets the duration of the GNSS cycle in seconds.
  61.      *
  62.      * @return the duration of the GNSS cycle in seconds
  63.      */
  64.     double getCycleDuration();

  65.     /**
  66.      * Gets the clock correction reference time toc.
  67.      *
  68.      * @return the clock correction reference time (s)
  69.      * @see #getAf0()
  70.      * @see #getAf1()
  71.      * @see #getAf2()
  72.      */
  73.     default double getToc() {
  74.         return 0.0;
  75.     }

  76. }