normalise_irf: Calculate normalised instrument-specific response function

Description Usage Arguments Value Examples

Description

Given an instrument-specific response function (IRFλ) in units Mass squared Length per squared Time count, the 'integration time' of the calibration measurement in units Length and a vector of center points for the bands that make up the spectral measurement in units of Length this function will return IRFnorm,λ in units of Mass cubed Length per Time count.

The usual case is IRFλ given in J/count

Calculated as:

IRFnorm,λ = t × dλ / IRFλ

Usage

1
normalise_irf(irf, int_time, wavelengths)

Arguments

irf

instrument-specific response function (IRFλ), usually with units J/count

int_time

The ‘integration time’ (*t*) of a measurement i.e., the time period over which the instrument records light through the measuring apature. Usually seconds.

wavelengths

Center points for the bands that make up the spectral measurement (λ) i.e., the wavelength scale. Usually units of nm.

Value

The normalised IRFλ vector.

Examples

1
normalise_irf(1:10, 0.001, 1:10)

edwardpmorris/FASTSpectra documentation built on May 15, 2019, 11:03 p.m.