v1.5.0
New Features
-
Added the
mask_treatmentparameter to Background, Trace, and Boxcar Extract
operations to handle non-finite data and boolean masks. Available options are
apply,ignore,propagate,zero_fill,nan_fill,apply_mask_only,
orapply_nan_only. [#216, #254] -
Modified
background.Background.bgk_spectrumto allow the user to select the statistic
used for background estimation betweenmedianoraverage. [#253] -
Modified
extract.BoxcarExtractto ignore non-finite pixels whenmask_treatmentis set
toapply; otherwise, non-finite values are propagated. Boxcar extraction is
now carried out as a weighed sum over the window. When no non-finite values are
present, the extracted spectra remain unchanged from the previous behaviour.
Bug Fixes
- Fixed Astropy v7.0 incompatibility bug in
tracing.FitTrace: changed to use
astropy.modeling.fitting.DogBoxLSQFitterwhen fitting a Gaussian peak model instead of
astropy.modeling.fitting.LevMarLSQFitterthat may be deprecated in the future. Also
changed to usefitting.LMLSQFitterinstead offitting.LevMarLSQFitterwhen fitting
a generic nonlinear trace model. [#229]
Other changes
- Changed
tracing.FitTraceto useastropy.modeling.fitting.LinearLSQFitter
if the trace model is linear.
New Contributors
- @hpparvi made their first contribution in #231
- @gibsongreen made their first contribution in #253
Full Changelog: v1.4.1...v1.5.0