File: observationPodIntegral.cpp

package info (click to toggle)
groops 0%2Bgit20250907%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 11,140 kB
  • sloc: cpp: 135,607; fortran: 1,603; makefile: 20
file content (53 lines) | stat: -rw-r--r-- 1,352 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/***********************************************/
/**
* @file observationPodIntegral.cpp
*
* @brief Precise Orbit Data (POD) observations (short arc integral).
* Solution of the Fredholm integral.
*
* @author Torsten Mayer-Guerr
* @date 2003-12-22
*
*/
/***********************************************/

#include "base/import.h"
#include "misc/observation/observationMiscPodIntegral.h"
#include "misc/observation/covariancePod.h"
#include "classes/observation/observation.h"
#include "classes/observation/observationPodIntegral.h"

/***********************************************/

ObservationPodIntegral::ObservationPodIntegral(Config &config)
{
  try
  {
    observationMisc = ObservationMiscPodIntegralPtr(new ObservationMiscPodIntegral(config));
    readConfig(config, "covariancePod", covPod, Config::OPTIONAL, "", "covariance matrix of kinematic orbits");
    if(isCreateSchema(config)) return;
  }
  catch(std::exception &e)
  {
    GROOPS_RETHROW(e)
  }
}

/***********************************************/

void ObservationPodIntegral::observation(UInt arcNo, Matrix &l, Matrix &A, Matrix &B)
{
  try
  {
    ObservationMiscPod::Arc arc = observationMisc->computeArc(arcNo, covPod);
    l = arc.l;
    A = arc.A;
    B = arc.B;
  }
  catch(std::exception &e)
  {
    GROOPS_RETHROW(e)
  }
}

/***********************************************/