#include <PlanckFunction.hpp>
Public Member Functions | |
PlanckFunction (double T) | |
double | cdf (Array &lambdav, Array &pv, Array &Pv, Range lambdaRange) const |
double | operator() (double lambda) const |
double | value (double lambda) const |
Private Attributes | |
double | _f1 |
double | _f2 |
double | _T |
This class represents the Planck function
The temperature
|
explicit |
The constructor for the PlanckFunction class accepts the temperature
This function constructs a tabulated normalized probability density function (pdf) and the corresponding normalized cumulative distribution function (cdf) for the Planck function with temperature
|
inline |
This function call operator returns the value of the Planck function
double PlanckFunction::value | ( | double | lambda | ) | const |
This function returns the value of the Planck function