Stcal

Latest version: v1.7.2

Safety actively analyzes 638452 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 9

1.4.1

Bug Fixes
---------

jump
~~~~

- Added statement to prevent the number of cores used in multiprocessing from
being larger than the number of rows. This was causing some CI tests to fail. [176]

1.4.0

==================

Bug Fixes
---------

jump
~~~~

- Updated the jump detection to switch to using the numpy sigmaclip routine to
find the actual rms across integrations when there are at least 101 integrations
in the exposure. This still allows cosmic rays and snowballs/showers to be flagged
without being affected by slope variations due to either brigher-fatter/charge-spilling
or errors in the nonlinearity correction.
Also added the counting of the number of cosmic rays and snowballs/showers that
is then placed in the FITS header in the JWST routines. [174]

ramp_fitting
~~~~~~~~~~~~

- Changing where time division occurs during ramp fitting in order to
properly handle special cases where the time is not group time, such
as when ZEROFRAME data is used, so the time is frame time. [173]

- Added another line of code to be included in the section where warnings are turned
off. The large number of warnings can cause a hang in the Jupyter notebook when
running with multiprocessing. [174]

Changes to API
--------------

-

Other
-----

-

1.3.8

==================

Bug Fixes
---------

dark_current
~~~~~~~~~~~~

- Fixed handling of MIRI segmented data files so that the correct dark
integrations get subtracted from the correct science integrations. [165]

ramp_fitting
~~~~~~~~~~~~

- Correct the "averaging" of the final image slope by properly excluding
variances as a part of the denominator from integrations with invalid slopes.
[167]
- Removing the usage of ``numpy.where`` where possible for performance
reasons. [169]

1.3.7

==================

Bug Fixes
---------

ramp_fitting
~~~~~~~~~~~~

- Correctly compute the number of groups in a segment to properly compute the
optimal weights for the OLS ramp fitting algorithm. Originally, this
computation had the potential to include groups not in the segment being
computed. [163]

Changes to API
--------------

- Drop support for Python 3.8 [162]

1.3.6

==================

Bug Fixes
---------

ramp_fitting
~~~~~~~~~~~~

- The ``meta`` tag was missing when checking for ``drop_frame1``. It has been
added to the check. [161]


Changes to API
--------------

-

Other
-----

- Remove use of deprecated ``pytest-openfiles`` ``pytest`` plugin. This has been replaced by
catching ``ResourceWarning``. [159]

1.3.5

==================

Bug Fixes
---------

jump
~~~~

- Updated the code for both NIR Snowballs and MIRI Showers. The snowball
flagging will now extend the saturated core of snowballs. Also,
circles are no longer used for snowballs preventing the huge circles
of flagged pixels from a glancing CR.
Shower code is completely new and is now able to find extended
emission far below the single pixel SNR. It also allows detected
showers to flag groups after the detection. [144]

ramp_fitting
~~~~~~~~~~~~

- During multiprocessing, if the number of processors requested are greater
than the number of rows in the image, then ramp fitting errors out. To
prevent this error, during multiprocessing, the number of processors actually
used will be no greater than the number of rows in the image. [154]

Other
~~~~~

- Remove the ``dqflags``, ``dynamicdq``, and ``basic_utils`` modules and replace
them with thin imports from ``stdatamodels`` where the code as been moved. [146]

- update minimum version of ``numpy`` to ``1.20`` and add minimum dependency testing to CI [153]

- restore ``opencv-python`` to a hard dependency [155]

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.