- The new FitTrace class (see "API Changes" below) introduces the ability to
take a polynomial trace of an image [#128]
- Renamed KosmosTrace as FitTrace, a conglomerate class for traces that are fit
to images instead of predetermined [#128]
- The default number of bins for FitTrace is now its associated image's number
of dispersion pixels instead of 20. Its default peak_method is now 'max' [#128]
- All operations now accept Spectrum1D and Quantity-type images. All accepted
image types are now processed internally as Spectrum1D objects [#144]
- All operations' image
attributes are now coerced Spectrum1D objects [#144]
- Fixed passing a single
Trace
object toBackground
[#146]
Background
has new methods for exposing the 1D spectrum of the background or background-subtracted regions [#143]
- Improved errors/warnings when background region extends beyond bounds of image [#127]
- Fixed boxcar weighting bug that often resulted in peak pixels having weight above 1 and erroneously triggered overlapping background errors [#125]
- Fixed boxcar weighting to handle zero width and edge of image cases [#141]
peak_method
as an optional argument toKosmosTrace
[#115]
HorneExtract
no longer requiresmask
andunit
arguments [#105]BoxcarExtract
andHorneExtract
now accept parameters (and require the image and trace) at initialization, and allow overriding any input parameters when calling [#117]
- Corrected the default mask created in
HorneExtract
/OptimalExtract
when a user doesn't specify one and gives their image as a numpy array [#118]
- Added
Trace
classes - Added basic synthetic data routines
- Added
BoxcarExtract
- Added
HorneExtract
, a.k.a.OptimalExtract
- Added basic
Background
subtraction
- Update
codecov-action
tov2
- Change default branch from
master
tomain
- Test fixes; bump CI to python 3.8 and 3.9 and deprecate support for 3.7