ReFRACtor
ils_function.h
Go to the documentation of this file.
1 #ifndef ILS_FUNCTION_H
2 #define ILS_FUNCTION_H
3 #include "printable.h"
4 #include "array_ad.h"
5 #include <blitz/array.h>
6 
7 namespace FullPhysics {
8 /****************************************************************/
17 class IlsFunction : public Printable<IlsFunction> {
18 public:
19  virtual ~IlsFunction() {}
20 
21 //-----------------------------------------------------------------------
37 //-----------------------------------------------------------------------
38 
39  virtual void ils
40  (const AutoDerivative<double>& wn_center,
41  const blitz::Array<double, 1>& wn, ArrayAd<double, 1>& res) const = 0;
42 
43 //-----------------------------------------------------------------------
45 //-----------------------------------------------------------------------
46 
47  virtual std::string band_name() const = 0;
48 
49 //-----------------------------------------------------------------------
57 //-----------------------------------------------------------------------
58 
59  virtual std::string hdf_band_name() const { return band_name();}
60 
61  virtual void print(std::ostream& os) const { os << "IlsFunction";}
62 };
63 }
64 #endif
virtual std::string band_name() const =0
Descriptive name of the band.
virtual void print(std::ostream &os) const
Definition: ils_function.h:61
This class models an Instrument Line Shape (ILS) function.
Definition: ils_function.h:17
This is a Mixin for classes that can be printed.
Definition: printable.h:24
virtual void ils(const AutoDerivative< double > &wn_center, const blitz::Array< double, 1 > &wn, ArrayAd< double, 1 > &res) const =0
Return response function.
virtual std::string hdf_band_name() const
In general, the name used in HDF files for a particular band is similar but not identical to the more...
Definition: ils_function.h:59
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1

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