1   /* Copyright 2002-2025 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 ResultBatchLeastSquares {
26  
27      private int numberOfIteration;
28      private int numberOfEvaluation;
29      private TimeStampedPVCoordinates estimatedPV;
30      private StreamingStatistics rangeStat;
31      private StreamingStatistics azimStat;
32      private StreamingStatistics elevStat;
33      ParameterDriversList propagatorParameters  ;
34      ParameterDriversList measurementsParameters;
35      private RealMatrix covariances;
36  
37      ResultBatchLeastSquares(ParameterDriversList  propagatorParameters,
38               ParameterDriversList  measurementsParameters,
39               int numberOfIteration, int numberOfEvaluation, TimeStampedPVCoordinates estimatedPV,
40               StreamingStatistics rangeStat, StreamingStatistics rangeRateStat,
41               StreamingStatistics azimStat, StreamingStatistics elevStat,
42               StreamingStatistics posStat, StreamingStatistics velStat,
43               RealMatrix covariances) {
44  
45          this.propagatorParameters   = propagatorParameters;
46          this.measurementsParameters = measurementsParameters;
47          this.numberOfIteration      = numberOfIteration;
48          this.numberOfEvaluation     = numberOfEvaluation;
49          this.estimatedPV            = estimatedPV;
50          this.rangeStat              =  rangeStat;
51          this.azimStat               = azimStat;
52          this.elevStat               = elevStat;
53          this.covariances            = covariances;
54      }
55  
56      public int getNumberOfIteration() {
57          return numberOfIteration;
58      }
59  
60      public int getNumberOfEvaluation() {
61          return numberOfEvaluation;
62      }
63  
64      public TimeStampedPVCoordinates getEstimatedPV() {
65          return estimatedPV;
66      }
67  
68      public StreamingStatistics getRangeStat() {
69          return rangeStat;
70      }
71  
72      public StreamingStatistics getAzimStat() {
73          return azimStat;
74      }
75  
76      public StreamingStatistics getElevStat() {
77          return elevStat;
78      }
79  
80      public RealMatrix getCovariances() {
81          return covariances;
82      }
83  
84      public ParameterDriversList getPropagatorParameters() {
85          return propagatorParameters;
86      }
87  
88      public ParameterDriversList getMeasurementsParameters() {
89          return measurementsParameters;
90      }
91  
92  }