broaden_mask

popurri.telluricutils.broaden_mask(w, f, dv)

Broaden mask by a velocity dv [m/s].

w_broaden = w*(1+dv/(2.99792458*10**8))

Uses mask format w and f, where one lines has flux 0110.

Parameters:
w, farray
dvfloat

Velocity to add/subtract to each telluric line, in m/s.

Returns:
w_broadenarray