eradiate.radprops.absorption.interp_wg#
- eradiate.radprops.absorption.interp_wg(ds, w, g)[source]#
Interpolate absorption data set to given w and g coordinates.
- Parameters:
ds (
xr.Dataset) – Absorption data set.w (
pint.Quantity) – Wavelength corresponding to the CKD bin to select.g (
float) – g-point to interpolate at.
- Returns:
xr.DataArray– Spectral-interpolated absorption data.