CommonParametersWithoutDerivatives.java

  1. /* Copyright 2002-2024 Luc Maisonobe
  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.estimation.measurements;

  18. import org.orekit.propagation.SpacecraftState;
  19. import org.orekit.utils.TimeStampedPVCoordinates;

  20. /** Common intermediate parameters used to estimate measurements.
  21.  * @author Luc Maisonobe
  22.  * @since 12.1
  23.  */
  24. public class CommonParametersWithoutDerivatives {

  25.     /** Spacecraft state. */
  26.     private final SpacecraftState state;

  27.     /** Downlink delay. */
  28.     private final double tauD;

  29.     /** Transit state. */
  30.     private final SpacecraftState transitState;

  31.     /** Transit position/velocity. */
  32.     private final TimeStampedPVCoordinates transitPV;

  33.     /** Simple constructor.
  34.     * @param state spacecraft state
  35.     * @param tauD downlink delay
  36.     * @param transitState transit state
  37.     * @param transitPV transit position/velocity
  38.     */
  39.     public CommonParametersWithoutDerivatives(final SpacecraftState state,
  40.                                               final double tauD,
  41.                                               final SpacecraftState transitState,
  42.                                               final TimeStampedPVCoordinates transitPV) {
  43.         this.state        = state;
  44.         this.tauD         = tauD;
  45.         this.transitState = transitState;
  46.         this.transitPV    = transitPV;
  47.     }

  48.     /** Get spacecraft state.
  49.      * @return spacecraft state
  50.      */
  51.     public SpacecraftState getState() {
  52.         return state;
  53.     }

  54.     /** Get downlink delay.
  55.      * @return ownlink delay
  56.      */
  57.     public double getTauD() {
  58.         return tauD;
  59.     }

  60.     /** Get transit state.
  61.      * @return transit state
  62.      */
  63.     public SpacecraftState getTransitState() {
  64.         return transitState;
  65.     }

  66.     /** Get transit position/velocity.
  67.      * @return transit position/velocity
  68.      */
  69.     public TimeStampedPVCoordinates getTransitPV() {
  70.         return transitPV;
  71.     }

  72. }