Module Radiance
source code
Module for calculating the spectral radiance as a function of
wavelength.
Provides the alternative expressions such as flux density, luminosity,
etc as well.
Note that I avoid the term specific or total intensity, as there is
confusion between the precise definition of the term. Spectral intensity
refers to radiance integrated over a surface, ie in units of erg/s/Hz/sr.
Hence, I consistently refer to radiance when specific intensity is
concerned.
Also note that radiance is also known as the brightness. That term
however refers to the subjective brightness of an object, and is not very
appropriate in this context.
For an overview of terminology:
https://en.wikipedia.org/wiki/Radiance
For an overview on relation between brightness (or specific
intensity), flux density, and luminosity:
http://www.cv.nrao.edu/course/astr534/Brightness.html
Author: R. Lombaert
|
Radiance
An interface for a spectral radiance and its derivative.
|
array/float
|
blackbody(f,
T)
Calculate a blackbody spectrum (ie brightness) as a function of
frequency and for a given temperature. |
source code
|
|
|
__package__ = ' ComboCode.cc.modeling.profilers '
|
Calculate a blackbody spectrum (ie brightness) as a function of
frequency and for a given temperature.
Gives the energy per unit time per unit area of emitting surface in
the normal direction per unit solid angle per unit frequency.
Note that GASTRoNOoM works in brightness! Not flux density!
- Parameters:
f (array/float) - The frequency grid (cm)
T (float) - The temperature value (not array, K)
- Returns: array/float
- The blackbody spectrum in erg/s/cm2/Hz
|