Drizzlepac

Latest version: v3.9.1

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

Scan your dependencies

Page 1 of 13

3.9.2

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

- Removed deprecated parameter, edge_method, from the instantiation of a
Background2D. The default for this value is now always equal to "pad"
which was the setting in use in our code. [1957]

- Removed python<3.13 restriction and remove some warnings. [1936]

- build and test with latest supported version of Python [1955]

- Added a third test using the size in pixels of the largest determined
segment as a discriminant with regard to switching from a Gaussian to a
Ricker-Wavelet kernel. The kernel is used to convolve with the input image
to increase the signal-to-noise ratio for the detection of faint sources. [1953]

- Replaced deprecated class IntegratedGaussianPRF with CircularGaussianSigmaPRF.
[1950]

- Updated path for regression test results on artifactory. [1933]

- Added new header keywords and match requirements for relative fitting. [1860]

- Updated alignment parameters. [1932]

- Implemented fixes to address uneven detection thresholds in the HAP catalogs
due to bugs in the function, make_wht_masks, which intends to create weight
masks covering the full drizzled output footprint. A somewhat related bug in
the compute_threshold method associated with only the Segment catalog was also
addressed. The "scale factor" which causes the RMS computation to be too small
was deleted. The RMS computation for the Point and Segment catalogs is now the
same. [1939]

3.9.1

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

- Further updates done to address the deprecated Photutils functionality as the
original changes did not produce results at least as good as the results
generated by the previous Photutils functionality. [1934]

3.9.0

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

- **This version used by operations but does not generate HAP products (SVM/MVM).**

- Include a minimum RMS value for the SBC detector, as is done for the other
detectors, as there seems to be a lot of noise in the source catalogs due to
a low detection threshold. [1908]

- Force an exit with a return code, KEYWORD_UPDATE_PROBLEM, in try/exception block
when invoking refine_product_headers in hapsequencer.py and hapmultisequencer.py.
If the FITS header keywords are not properly updated, this can cause errors during
CAOM ingest. [1911]

- Introduce warnings for fits extensions with science data of all zeros, and ensure
data with zeros in all science extensions are not processed. [998]

- Change to the algorithm which chooses which background determination algorithm to
use for processing when working on the output source catalogs. If the RMS from
the Photutils Background2D is greater than the RMS from the astropy.stats
sigma_clipped_stats, then the background algorithm is now set to use the
sigma_clipped_stats. [1904]

- Properly account for illuminated and non-illuminated pixels through the use
of masks when determining the background algorithm to use when working on the
output source catalogs. Use of the proper masks is particularly important for
the ACS/SBC data where the pixel is in the illuminated zone, but its value may
be zero. SBC is a MAMA photo-counting detector. (1894)

- Modifications to support an upgrade to Photutils v1.13.0. Changes were made
to accommodate new APIs, modified low-level functionality, and address columns
of a table in get_cutouts() by name rather than position to ensure the correct
data is acquired. Support is now for versions of Photutils>=1.10.0. [1844]

- Added documentation describing regression tests. [1881]

- Addressed additional issues related to numpy 2.0 scalar promotion. [1875]

- Update to HDRTABLE for MVM products to include SVM rootname and SVM creation date. [1846]

- Added python 3.12 to testing matrix for Jenkins and github actions. [1843]

- ``manageInputCopies`` now copies successfully even if the original files were
defined by full paths rather than being in the current working directory. [1835]

3.8.0

=====

- Version not released; internal testing only.

3.7.1.1

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

- Improved S_REGION using simplify-polygon, eorions, and dilation. [1323]

3.7.1

===================
- Avoid applying the estimated cosmic ray vs real sources threshold for the
ACS/SBC and WFC3/IR detectors. [1858]

- Corrected the way the n1_exposure_time and tot_exposure_time values
are computed as these values are used in the computation for rejecting
catalog creation based on expected cosmic ray detections. Generalized
the crfactor dictionary for all detectors. Ensure if any catalog type
is rejected, all the catalog types are rejected. [1853]

- Modified the call to the hamming function in the deconvolve_utils.py module
as SciPy deprecated the way window filtering functions can be invoked. These
functions can no longer be imported from the scipy.signal namespace but need
to be accessed via scipy.signal.windows. [1848]

- Corrected the way that the number of constituent images are accumulated
per pixel by ensuring each contributing pixel has a finite value and
is not zero. [1820]

- Within the HAP configuration files, increased the minimum number of matches
for a successful "rscale" fit from 6 to 10, and removed "shift" as a fit geometry
option. [1823].

- Removed the use of a custom smoothing kernel based upon actual image
data as a poorly determined kernel can ultimately cause poor source
position determination. The default kernel has been set to a
Gaussian with default dimensions of 11 x 11 pixels. [1805]

- Addressed bugs caught by SonarQube static code analysis. Interface
changes listed here: Added missing input data parameter to the create_output
calls, Added missing log level to run function, Removed the deprecated
parameter, dao_threshold, from astrometric_utils.py/extract_sources, removed
"ivmlist" parameter from the interface of multiple functions in processInput.py
as it is an output parameter (buildFileListOrig, buildFileList, checkMultipleFiles,
and process_input), and addressed missing parameters in the calls to
get_ci_info and get_ci_from_file.. [1802]

- Exclude single filter images from the generation of the total detection
image to minimize cosmic ray contamination, unless there are only single
filter images in the visit. [1797]

- Implemented a series of bug fixes for the segmentation catalog [1793]
- Define the threshold image to be (nsigma * background_rms).
- Fixed bug in the generation of the threshold image - ensure the final
threshold is built up properly by using the weight mask for the region
in question.
- Pass the background image to detect_segments() so the convolved image can be
background subtracted.
- For the detection of sources, background subtract the input image for both the
Gaussian and RickerWavelet kernels. Do not do any clipping on the background
subtracted image.
- Update configuration files for the RickerWavelet2DKernel: source_box is now 6
and rw2d_nsigma is now 3.
- Fixed a bug in the computation of the "biggest source".

- Created a new method, ricker_matched_kernel(), to generate the RickerWavelet2DKernel
properly. Sigma is now provided, versus the FWHM, to the RickerWavelet2dKernel
constructor, and the normalization is handled by the new method where the
normalization causes the RickerWavelet core to match the Gaussian core. [1791]

- Added contributors guide to readthedocs. [1787]

- Removed "tophat" as a kernel option, added warnings for "gaussian" and "lanczos3"
that they may not be conserving flux. [1786]

- Updated config json to exclude bad pixels in single WFC3/IR SVM processing. [1783]

- Bug fix for mdriztab=True option in Astrodrizzle previously overwriting user inputs. [1774]

- Reverted PR 1222 allowing pixels to be filled with available data where WHT=0. [1767]

- Force the identified bad rows to be removed from the total (aka white light)
source catalog before the corresponding bad segments are removed from the
segmentation image. [1771]

- Improved calculation of S_REGION using dialation and erosion. [1762]

- Skycell added to flt(c) and drz(c) science headers for the pipeline and svm products. [1729]

Page 1 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.