ProfileResult.h
Go to the documentation of this file.
1 #ifndef _atm_ProfileResult_h_
2 #define _atm_ProfileResult_h_
3 
4 #include <utl/TabulatedFunction.h>
5 #include <utl/TabulatedFunctionErrors.h>
6 #include <vector>
7 
8 
9 namespace utl {
10  class TabulatedFunctionErrors;
11 }
12 
13 namespace atm {
14 
25  class ProfileResult {
26 
27  public:
29  enum Binning {
30  eLinear = 0, // ordinate is linear scale
31  eLog // ordinate is log scale
32  };
33 
35 
37  const Binning bX, const Binning bY);
38 
40  double Y(const double x) const;
41 
43  // TO BE IMPLEMENTED (to start, could take error for closest point)
44  double YError(const double /*x*/) const { return 0; }
45 
47  double MaxX() const;
48 
50  double MinX() const;
51 
53  bool IsInValidRange(const double x) const;
54 
56  Binning BinningX() const { return fBinningX; }
57 
59  Binning BinningY() const { return fBinningY; }
60 
61  std::vector<double> GetXValues() const;
62  std::vector<double> GetYValues() const;
63 
64  private:
68 
69  friend class VProfileModel;
71 
72  };
73 
74 }
75 
76 
77 #endif
double Y(const double x) const
Get the Y value (coordinate) for given X (ordinate)
Class describing the Atmospheric profile.
Definition: ProfileResult.h:25
std::vector< double > GetYValues() const
double YError(const double) const
Get the error on Y (coordinate) for given X (ordinate)
Definition: ProfileResult.h:44
Binning BinningX() const
Return the binning type (log or linear) use for the Y axis.
Definition: ProfileResult.h:56
Provides translational services for inclined profile.
Binning
Specify whether data are tabulated on log or linear scale.
Definition: ProfileResult.h:29
double MinX() const
Return the minimum value for X (ordinate) stored in the profile.
std::vector< double > GetXValues() const
utl::TabulatedFunctionErrors fProfile
Definition: ProfileResult.h:65
bool IsInValidRange(const double x) const
returns true, if the X (ordinate) is in the range covered by the results
Base class for a Profile Model.
Definition: VProfileModel.h:26
double MaxX() const
Return the maximum value for X (ordinate) stored in the profile.
Binning BinningY() const
Return the binning type (log or linear) use for the Y axis.
Definition: ProfileResult.h:59

, generated on Tue Sep 26 2023.