interpolate_model

sofia_redux.calibration.standard_model.genastmodel2.interpolate_model(model_wave, model_flux, requested_wave=None)[source]

Interpolate the thermal model at key filter wavelengths.

Parameters:
model_wavenumpy.array

Wavelengths of the thermal model.

model_fluxnumpy.array

Flux of the themeral model.

requested_wavenumpy.array, optional

Wavelengths to interpolate the model at. If not provided, the model will be interpolated at wavelengths representative of FORCAST and HAWC filters.

Returns:
fitnumpy.array

Value of the thermal model at the FORCAST/HAWC filter wavelengths.