ReFRACtor
|
This class calculates the solar absorption spectrum. More...
#include <solar_absorption_table.h>
Public Member Functions | |
SolarAbsorptionTable (const HdfFile &Hdf_static_input, const std::string &Hdf_group) | |
Read the given file for the solar absorption spectrum. More... | |
virtual | ~SolarAbsorptionTable () |
virtual void | print (std::ostream &Os) const |
std::string | print_to_string () const |
Print to string. More... | |
virtual Spectrum | solar_absorption_spectrum (const SpectralDomain &spec_domain) const |
This calculates the solar absorption spectrum. More... | |
This class calculates the solar absorption spectrum.
This particular implementation reads a table of values, and interpolates to give a value.
Definition at line 15 of file solar_absorption_table.h.
SolarAbsorptionTable::SolarAbsorptionTable | ( | const HdfFile & | Hdf_static_input, |
const std::string & | Hdf_group | ||
) |
Read the given file for the solar absorption spectrum.
Definition at line 20 of file solar_absorption_table.cc.
|
inlinevirtual |
Definition at line 19 of file solar_absorption_table.h.
|
virtual |
Reimplemented from FullPhysics::SolarAbsorptionSpectrum.
Definition at line 54 of file solar_absorption_table.cc.
|
inlineinherited |
Print to string.
This is primarily useful for SWIG wrappers to this class, e.g. a to_s method in ruby.
Definition at line 31 of file printable.h.
|
virtual |
This calculates the solar absorption spectrum.
Spec_domain | Wavenumber/Wavelength to return solar absorption spectrum for. |
Note that the spectral domain here is in the solar rest frame, not the earth rest frame used in most other places. The class SolarAbsorptionAndContinuum handles this conversion internally.
Implements FullPhysics::SolarAbsorptionSpectrum.
Definition at line 42 of file solar_absorption_table.cc.