Constant Class Reference
Implements constant spectral density. More...
#include <source.h>
Inheritance diagram for Constant:

Public Member Functions | |
Constant () | |
Constant (double value) | |
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) |
Private Attributes | |
double | value |
Detailed Description
Implements constant spectral density.
This class implements a constant spectral density.
Constructor & Destructor Documentation
Constant::Constant | ( | ) |
Constant::Constant | ( | double | value | ) |
Constructor
- Parameters
-
value constant spectral density value
Member Function Documentation
|
virtual |
Returns constant spectral density.
- Parameters
-
wavelength wavelength
- Returns
- constant spectral density value
Reimplemented from Source.
Member Data Documentation
|
private |
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