View source: R/sunlightPlanck.R
sunlight.Planck | R Documentation |
Calculate the spectral radiance, radiance and luminosity
for a black body with surface temperature temperature
(e.g., the Sun
has a surface temperature of 5772 K) using Planck's law, for a
specified wavelength range.
sunlight.Planck(
wavelength = seq(1e-07, 4e-06, 1e-09),
temperature = dplyr::filter(photoec::solarconstants, label == "T.Sun")$value
)
wavelength |
wavelength/m, numeric vector Please note: expected unit is **meter** and *not* nanometer! |
temperature |
black body surface temperature/Kelvin, numeric scalar |
Calculate spectral radiance, radiance and luminosity of a black body
dataframe with 9 columns:
Wavelength/nm
Spectral radiance of the black body per Planck's law/W m⁻² nm⁻¹
Power term of Planck's law/W m⁻² nm⁻¹
Exponential term of Planck's law/1
Cumulative radiance/W m⁻²
Luminosity of the spherical black body/W
Spectral irradiance at a distance of 1 AU from the black body/W m⁻² nm⁻¹
Irradiance at a distance of 1 AU from the black body/W m⁻²
Luminosity impinging on Earth (hemisphere)/W
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.