FEL_spectrum: Incandescent "FEL" lamp emission spectrum

View source: R/fel.spectrum.r

FEL_spectrumR Documentation

Incandescent "FEL" lamp emission spectrum

Description

Calculate values by means of a nth degree polynomial from user-supplied constants (for example from a lamp calibration certificate).

Usage

FEL_spectrum(w.length, k = photobiology::FEL.BN.9101.165, fill = NA_real_)

Arguments

w.length

numeric vector of wavelengths (nm) for output

k

a numeric vector with n constants for the function

fill

if NA, no extrapolation is done, and NA is returned for wavelengths outside the range 250 nm to 900 nm. If NULL then the tails are deleted. If 0 then the tails are set to zero, etc. NA is default.

Value

a dataframe with four numeric vectors with wavelength values (w.length), energy and photon irradiance (s.e.irrad, s.q.irrad) depending on the argument passed to unit.out (s.irrad).

Note

This is function is valid for wavelengths in the range 250 nm to 900 nm, for wavelengths outside this range NAs are returned.

Examples

FEL_spectrum(400)
FEL_spectrum(250:900)

photobiology documentation built on Oct. 21, 2023, 1:06 a.m.