Blackbody Class Reference
Implements a blackbody spectrum. More...
#include <source.h>
Inheritance diagram for Blackbody:

Public Member Functions | |
Blackbody (double T) | |
double | get_spectral_density (double wavelength) |
![]() | |
Source () | |
virtual | ~Source () |
virtual std::vector< double > | get_spectral_density (std::vector< double > wavelength) |
virtual std::vector< double > | get_spectrum (std::vector< double > wavelength) |
void | set_doppler_shift (double shift) |
void | set_integration_steps (int n) |
Static Public Member Functions | |
static double | planck (const double &T, const double &wavelength) |
Private Attributes | |
double | T |
Temperature [K]. More... | |
Detailed Description
Implements a blackbody spectrum.
This class implements the spectrum of a blackbody of a certain Temperature.
- See also
- {Blackbody::get_spectral_density()}
Constructor & Destructor Documentation
Blackbody::Blackbody | ( | double | T | ) |
Constructor
- Parameters
-
T Temperature [K]
Member Function Documentation
|
virtual |
spectral density of a blackbody
- Parameters
-
wavelength wavelength [micron]
- Returns
- spectral density of a blackbody at given wavelength
Reimplemented from Source.
|
static |
Planck function for spectral density of a blackbody with Temperature T
- Parameters
-
T Temperature [K] wavelength wavelength [m]
- Returns
- spectral density
Member Data Documentation
|
private |
Temperature [K].
The documentation for this class was generated from the following files:
- /home/stuermer/Repos/cpp/EchelleSimulator/include/source.h
- /home/stuermer/Repos/cpp/EchelleSimulator/src/source.cpp