ReFRACtor
observation.h
Go to the documentation of this file.
1 #ifndef OBSERVATION_H
2 #define OBSERVATION_H
3 
4 #include "printable.h"
6 
7 namespace FullPhysics {
8 
9 class Observation : public StackedRadianceMixin, public Printable<Observation> {
10 public:
12  virtual int num_channels() const = 0;
13 
15  virtual const SpectralDomain spectral_domain(int channel_index) const = 0;
16 
22  virtual Spectrum radiance(int channel_index, bool skip_jacobian = false) const = 0;
23 
24  virtual void print(std::ostream& Os) const
25  {
26  Os << "Observation";
27  }
28 };
29 }
30 
31 #endif
virtual int num_channels() const =0
Number of spectral channels.
virtual const SpectralDomain spectral_domain(int channel_index) const =0
The spectral grid of the radiance values, implemented by inheriting class.
virtual Spectrum radiance(int channel_index, bool skip_jacobian=false) const =0
Measured spectrum for the given spectral channel.
For different instruments, it is more natural to either work with wavenumbers (e.g., GOSAT) or wavelength (e.g., OCO).
This is a Mixin for classes that can be printed.
Definition: printable.h:24
This is a full spectrum, which contains a SpectralRange and SpectralDomain.
Definition: spectrum.h:18
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
virtual void print(std::ostream &Os) const
Definition: observation.h:24

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:10