1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
|
1.4.0 (unreleased)
------------------
New Features
^^^^^^^^^^^^
API Changes
^^^^^^^^^^^
Bug Fixes
^^^^^^^^^
1.3.0 (2022-12-05)
------------------
New Features
^^^^^^^^^^^^
- The new FitTrace class (see "API Changes" below) introduces the
ability to take a polynomial trace of an image [#128]
API Changes
^^^^^^^^^^^
- 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, #154]
- All operations' ``image`` attributes are now coerced Spectrum1D
objects [#144, #154]
- HorneExtract can now handle non-flat traces [#148]
Bug Fixes
^^^^^^^^^
- Fixed passing a single ``Trace`` object to ``Background`` [#146]
- Moved away from creating image masks with numpy's ``mask_invalid()``
function after change to upstream API. This will make specreduce
be compatible with numpy 1.24 or later. [#155]
1.2.0 (2022-10-04)
------------------
New Features
^^^^^^^^^^^^
- ``Background`` has new methods for exposing the 1D spectrum of the
background or background-subtracted regions [#143]
Bug Fixes
^^^^^^^^^
- 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]
1.1.0 (2022-08-18)
------------------
New Features
^^^^^^^^^^^^
- ``peak_method`` as an optional argument to ``KosmosTrace`` [#115]
API Changes
^^^^^^^^^^^
- ``HorneExtract`` no longer requires ``mask`` and ``unit`` arguments [#105]
- ``BoxcarExtract`` and ``HorneExtract`` now accept parameters (and
require the image and trace) at initialization, and allow overriding any
input parameters when calling [#117]
Bug Fixes
^^^^^^^^^
- Corrected the default mask created in
``HorneExtract``/``OptimalExtract`` when a user doesn't specify one and
gives their image as a numpy array [#118]
1.0.0 (2022-03-29)
------------------
New Features
^^^^^^^^^^^^
- Added ``Trace`` classes
- Added basic synthetic data routines
- Added ``BoxcarExtract``
- Added ``HorneExtract``, a.k.a. ``OptimalExtract``
- Added basic ``Background`` subtraction
Bug Fixes
^^^^^^^^^
- Update ``codecov-action`` to ``v2``
- Change default branch from ``master`` to ``main``
- Test fixes; bump CI to python 3.8 and 3.9 and deprecate support for
3.7
|