ReFRACtor
FullPhysics::SolarAbsorptionSpectrum Class Referenceabstract

This class calculates the solar absorption spectrum. More...

#include <solar_absorption_spectrum.h>

+ Inheritance diagram for FullPhysics::SolarAbsorptionSpectrum:
+ Collaboration diagram for FullPhysics::SolarAbsorptionSpectrum:

Public Member Functions

virtual ~SolarAbsorptionSpectrum ()
 
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 =0
 This calculates the solar absorption spectrum. More...
 

Detailed Description

This class calculates the solar absorption spectrum.

Definition at line 11 of file solar_absorption_spectrum.h.

Constructor & Destructor Documentation

◆ ~SolarAbsorptionSpectrum()

virtual FullPhysics::SolarAbsorptionSpectrum::~SolarAbsorptionSpectrum ( )
inlinevirtual

Definition at line 13 of file solar_absorption_spectrum.h.

Member Function Documentation

◆ print()

virtual void FullPhysics::SolarAbsorptionSpectrum::print ( std::ostream &  Os) const
inlinevirtual

◆ print_to_string()

std::string FullPhysics::Printable< SolarAbsorptionSpectrum >::print_to_string ( ) const
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.

◆ solar_absorption_spectrum()

virtual Spectrum FullPhysics::SolarAbsorptionSpectrum::solar_absorption_spectrum ( const SpectralDomain Spec_domain) const
pure virtual

This calculates the solar absorption spectrum.

Parameters
Spec_domainWavenumber/Wavelength to return solar absorption spectrum for.
Returns
The solar absorption spectrum. This is unit less, it is a scaled value with 1.0 being no absorption.

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.

Implemented in FullPhysics::SolarAbsorptionGfitFile, and FullPhysics::SolarAbsorptionTable.


The documentation for this class was generated from the following file:

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