This PR addresses issue #65 and implements the following changes:
The interp2d interpolation function from scipy is deprecated. It was used in the dust_util module where it has been replaced with the recommended RegularGridInterpolator. This gives slightly different but comparable results to interp2d.
Optimization for interpolating dust cross sections for spectrum wavelengths, not requiring a for loop.
Added comments to the apply_lognorm_ext and apply_powerlaw_ext methods in ReadModel.
Fixed a bug when adding the value of lbl_opacity_sampling that is used with AtmosphericRetrieval to the database.
This PR addresses issue #65 and implements the following changes:
The
interp2d
interpolation function fromscipy
is deprecated. It was used in thedust_util
module where it has been replaced with the recommendedRegularGridInterpolator
. This gives slightly different but comparable results tointerp2d
.Optimization for interpolating dust cross sections for spectrum wavelengths, not requiring a
for
loop.Added comments to the
apply_lognorm_ext
andapply_powerlaw_ext
methods inReadModel
.Fixed a bug when adding the value of
lbl_opacity_sampling
that is used withAtmosphericRetrieval
to the database.