1   /* Copyright 2002-2020 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  
18  package org.orekit.estimation.common;
19  
20  import org.hipparchus.linear.RealMatrix;
21  import org.hipparchus.stat.descriptive.StreamingStatistics;
22  import org.orekit.utils.ParameterDriversList;
23  import org.orekit.utils.TimeStampedPVCoordinates;
24  
25  public class ResultKalman {
26      private int numberOfMeasurements;
27      private TimeStampedPVCoordinates estimatedPV;
28      private StreamingStatistics rangeStat;
29      private StreamingStatistics azimStat;
30      private StreamingStatistics elevStat;
31      private ParameterDriversList propagatorParameters  ;
32      private ParameterDriversList measurementsParameters;
33      private RealMatrix covariances;
34      ResultKalman(ParameterDriversList  propagatorParameters,
35                   ParameterDriversList  measurementsParameters,
36                   int numberOfMeasurements, TimeStampedPVCoordinates estimatedPV,
37                   StreamingStatistics rangeStat, StreamingStatistics rangeRateStat,
38                   StreamingStatistics azimStat, StreamingStatistics elevStat,
39                   StreamingStatistics posStat, StreamingStatistics velStat,
40                   RealMatrix covariances) {
41  
42          this.propagatorParameters   = propagatorParameters;
43          this.measurementsParameters = measurementsParameters;
44          this.numberOfMeasurements   = numberOfMeasurements;
45          this.estimatedPV            = estimatedPV;
46          this.rangeStat              = rangeStat;
47          this.azimStat               = azimStat;
48          this.elevStat               = elevStat;
49          this.covariances            = covariances;
50      }
51  
52      public int getNumberOfMeasurements() {
53          return numberOfMeasurements;
54      }
55  
56      public TimeStampedPVCoordinates getEstimatedPV() {
57          return estimatedPV;
58      }
59  
60      public StreamingStatistics getRangeStat() {
61          return rangeStat;
62      }
63  
64      public StreamingStatistics getAzimStat() {
65          return azimStat;
66      }
67  
68      public StreamingStatistics getElevStat() {
69          return elevStat;
70      }
71  
72      public RealMatrix getCovariances() {
73          return covariances;
74      }
75  
76      public ParameterDriversList getPropagatorParameters() {
77          return propagatorParameters;
78      }
79  
80      public ParameterDriversList getMeasurementsParameters() {
81          return measurementsParameters;
82      }
83  
84  }