wavelength_spread: Calculate wavelength spread

Description Usage Arguments Value Examples

Description

Given a vector of wavelengths that represent the center point of each band calculate the ‘wavelength spread’ or ‘half-power bandwidths’ for each band (dλ, nm) i.e., the half-width of each band.

Calculated as:

d_{λ} = \frac{λ_{i} - λ_{i+1}}{2}

Usage

1
wavelength_spread(wavelengths)

Arguments

wavelengths

A vector of wavelengths that represent the center point of each band

Value

A vector (same length as wavelengths) of half-power bandwidths (half-width of each band) in the units of the given wavelengths vector

Examples

1

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