ReFRACtor
|
This class calculates the solar continuum spectrum. More...
#include <solar_continuum_table.h>
Public Member Functions | |
SolarContinuumTable (const HdfFile &F, const std::string &Hdf_group, bool Convert_from_photon=true) | |
Constructor. More... | |
virtual | ~SolarContinuumTable () |
virtual void | print (std::ostream &Os) const |
std::string | print_to_string () const |
Print to string. More... | |
virtual Spectrum | solar_continuum_spectrum (const SpectralDomain &spec_domain) const |
This calculate the solar continuum spectrum. More... | |
This class calculates the solar continuum spectrum.
This particular implementation uses a table to calculate the Solar Planck Function, doing a linear interpolation for points in between.
Definition at line 16 of file solar_continuum_table.h.
SolarContinuumTable::SolarContinuumTable | ( | const HdfFile & | F, |
const std::string & | Hdf_group, | ||
bool | Convert_from_photon = true |
||
) |
Constructor.
There are two conventions used for the reported solar spectrum. For OCO, we give the results as ph/s/m^2/micron, while for GOSAT we convert using the number of photons at each wavenumber to give W/m^2/cm^-1. You can choose the convention used by specifying if we Convert_from_photon or not.
Definition at line 26 of file solar_continuum_table.cc.
|
inlinevirtual |
Definition at line 21 of file solar_continuum_table.h.
|
virtual |
Reimplemented from FullPhysics::SolarContinuumSpectrum.
Definition at line 65 of file solar_continuum_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 calculate the solar continuum spectrum.
This calculates this at an Earth-Sun distance of 1 AU, this needs to be scaled by the square of the actual distance.
Spec_domain | Wavenumber/Wavelength to return solar continuum 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::SolarContinuumSpectrum.
Definition at line 48 of file solar_continuum_table.cc.