sunlight.Planck: Black body spectral radiance, radiance and luminosity

View source: R/sunlightPlanck.R

sunlight.PlanckR Documentation

Black body spectral radiance, radiance and luminosity

Description

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.

Usage

sunlight.Planck(
  wavelength = seq(1e-07, 4e-06, 1e-09),
  temperature = dplyr::filter(photoec::solarconstants, label == "T.Sun")$value
)

Arguments

wavelength

wavelength/m, numeric vector Please note: expected unit is **meter** and *not* nanometer!

temperature

black body surface temperature/Kelvin, numeric scalar

Details

Calculate spectral radiance, radiance and luminosity of a black body

Value

dataframe with 9 columns:

wavelength

Wavelength/nm

Sun.spectralradiance

Spectral radiance of the black body per Planck's law/W m⁻² nm⁻¹

Sun.spectralradiance.powerterm

Power term of Planck's law/W m⁻² nm⁻¹

Sun.spectralradiance.expterm

Exponential term of Planck's law/1

Sun.radiance

Cumulative radiance/W m⁻²

Sun.luminosity

Luminosity of the spherical black body/W

Earth.spectralirradiance

Spectral irradiance at a distance of 1 AU from the black body/W m⁻² nm⁻¹

Earth.irradiance

Irradiance at a distance of 1 AU from the black body/W m⁻²

Earth.luminosity

Luminosity impinging on Earth (hemisphere)/W


chepec/photoec documentation built on July 27, 2023, 11:33 a.m.