qsotools.spec.find_wa_edges

qsotools.spec. find_wa_edges ( wa ) [source]

Given wavelength bin centres, find the edges of wavelengh bins.

Examples

>>> print find_wa_edges([1, 2.1, 3.3, 4.6])
[ 0.45  1.55  2.7   3.95  5.25]