ReFRACtor
FullPhysics::SolarContinuumSpectrum Class Referenceabstract

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

#include <solar_continuum_spectrum.h>

+ Inheritance diagram for FullPhysics::SolarContinuumSpectrum:
+ Collaboration diagram for FullPhysics::SolarContinuumSpectrum:

Public Member Functions

virtual ~SolarContinuumSpectrum ()
 
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 =0
 This calculate the solar continuum spectrum. More...
 

Detailed Description

This class calculates the solar continuum spectrum.

Definition at line 10 of file solar_continuum_spectrum.h.

Constructor & Destructor Documentation

◆ ~SolarContinuumSpectrum()

virtual FullPhysics::SolarContinuumSpectrum::~SolarContinuumSpectrum ( )
inlinevirtual

Definition at line 12 of file solar_continuum_spectrum.h.

Member Function Documentation

◆ print()

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

◆ print_to_string()

std::string FullPhysics::Printable< SolarContinuumSpectrum >::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_continuum_spectrum()

virtual Spectrum FullPhysics::SolarContinuumSpectrum::solar_continuum_spectrum ( const SpectralDomain Spec_domain) const
pure 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.

Parameters
Spec_domainWavenumber/Wavelength to return solar continuum spectrum for.
Returns
The solar continuum spectrum at 1 AU.

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::SolarContinuumTable, and FullPhysics::SolarContinuumPolynomial.


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