Drizzlepac

Latest version: v3.7.0

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

Scan your dependencies

Page 2 of 12

3.4.3

===================
This release includes includes updates for these features in addition to various bug fixes:
- Initial support for aligning and creating SVM and MVM products for WFPC2 data
based on unoptimized processing parameters
- Python 3.10 support
- Photutils 1.4.0 (and newer) support
- Updated documentation on SVM processing and output mosaics

The list of specific changes for the significant issues includes:

- Fixed skycell size in pixels as quoted in the documentation. (1387)
- Ensure Ramp filter data is not used for MVM processing (1393)
- Added requested values and clarification text regarding photometry to the catalogs (1390)
- Modified the docstring which defines the HAPLEVEL and its associated meaning (1395)
- Modified the "exposure level" products to have a HAPLEVEL = 1 (1398)
- Get full S_REGION outline (1401)
- Update readthedocs for SVM catalog generation (1400)
- Delete all reference catalogs during SVM processing (1409)
- Update runastrodriz to work with WFPC2 data as singletons (1412)
- Revert sky matching to use local sky minimization upon any error (1411)
- Update SVM to support processing WFPC2 exposures (1418)
- Add support for Python 3.10 (1420)
- Add WFPC2 support for MVM processing (1422)
- Support additional RADESYS options for input files (1423)
- Ensure the gain variables are defined for all detectors (1425)
- Essentially remove restriction on PhotUtils package version (1426)

3.4.2

===================
This release addresses a number of issues related to SVM and MVM processing.

- Reset tasknames to work with TEAL (1285)
- Protect computations when photflam is equal to 0.0 (1295)
- MVM: Define MVM-specific processing parameters for drizzling (1277)
- Remove IPPPSSOO keyword from MVM product headers (again) (1297)
- Fix problem with astropy 5.0 table interpretation (1292)
- Statistics for SVM and MVM (1300)
- SVM: add/remove/update Astrodrizzle Parameter files (1303)
- Explicitly update boolean column in ASN tables (1307)
- Synchronize output WCS specifications for SVM processing (1312)
- Smooth out determination of S_REGION vertices (1315)
- Ensure units of catalog variables comply with Astropy (1316)
- Apply default alignment fit parameters for zero exptime exposures (1319)
- Fix bug caused by Astropy Tables being interpreted as QTables (1320)
- Revise logic for when mask keywords are computed (1323)
- Restrict version of Photutils to < 1.4.0. (1326)
- Add MEANWHT and MEDWHT keywords to drizzle products (1324, 1349)
- Add documentation describing mvm products and artifacts (1322)
- Add release notes for 3.4.1final (1328)
- Fix typo in ACS MVM header rules file (1332)
- Update astropy min version to 5.0.4 (1335)
- Avoid archiving duplicate WCS solutions in SVM processing (1333)
- Update installation dependencies for fitsblender and skypac (1354)
- Flag and ignore bad images based on detecting linear features (1351)
- Improve algorithm for identifying and filtering large segments (1357)
- Carry over IDCSCALE keyword when updating WCS to match Grism WCS (1355)
- Ignore MVM layers with no overlapping exposures (1360)
- Update crder units (1362)
- This change addresses bugs associated with the big_segments attribute of the segmentation image (1365)
- Update the WFC3 rules files (1366)
- Only allow "verify_guiding" check for MVM processing (1368)
- Fix the size of the HAPEXPNAME column in the HDRTAB of the MVM output DRZ/DRZ file (1371)
- Pass along default WCSNAME (1370)
- Re-design tweakback (1372)
- Bugfix: point-cat-fxm files being left around (1369)

3.4.1

==================
This release addresses issues found in v3.4.0. The most significant
issues were:

- Add documentation describing mvm products and artifacts (1322)

- Revise logic for when mask keywords are computed (1323)

- Restrict version of Photutils to < 1.4.0. (1326)

- Add MEANWHT and MEDWHT keywords to drizzle products (1324)

- Modify the units of the catalog variables so they are astropy-compatible (1318)

- Smooth out determination of S_REGION vertices (1315)

- Apply default alignment fit parameters for zero exptime exposures (1319)

- fix for tasknames to once again work with TEAL (1289)

- Revise code to properly support Astropy v5.0 (1286 , 1290 , 1292, 1296, 1307)

- Protect computations in catalog generation when photflam is equal to 0.0 (1295)

- Define MVM-specific and SVM-specific processing parameters for drizzling (1277, 1303)

- Remove IPPPSSOO keyword from header of output SVM or MVM drizzle products (1297)

- Insure correct statistics are reported in MVM headers (1300)

3.4.0

==================
This major release adds support for multi-visit mosaic (MVM) processing, in
addition to including numerous revisions to try to align more datasets
successfully to GAIA during pipeline and single-visit mosaic (SVM) processing.
Multi-visit mosaics (MVM) introduce the concept of SkyCells with new code added to define
them. SkyCells are subarrays of pre-defined tangent planes spaced regularly
on the sky as standardized definitions of mosaics to be created
from all HST observations taken of each part of the sky.

New features added in this version include:

- Support for creating MVMs as generated
by the 'drizzlepac/hapmultisequencer.py' module or using the
new command-line task ``runmultihap``.

- Tools for generating cutouts of MVM products found in the
``drizzlepac/haputils/hapcut_utils.py`` module.

The most significant revisions and bug fixes that affect
output products of this version of the code include:

- Detect extension name from WFPC2 flat-field files. [1193]

- Refactored the build system to be PEP-517 ad PEP-518 compliant. [1244]

- Fixed a bug in the drizzle algorithm due to which input pixels with
zero weights may still contribute to the output image. [1222]

- Added Sphinx documentation describing tools used for working with
MVM products. [1144, 1150]

- Changed names of "ISO" columns in Segmentation catalog to be unique [1155]

- Add WCS keyword values to catalog metadata [1160]

- Enforced a minimum number of cross-matches for alignment to be 4 sources [1187, 1218]

- Revised 2D background determination for smaller detectors to improve source
detection during alignment. [1187]

- Create empty catalogs when exposures are effectively blank. [1199]

- Cut processing time from days to minutes for exposures of crowded fields of
faint sources or fields dominated by a single large extended source. [1198]

- Report correct value of NMATCHES keyword for number of sources actually
used in alignment fit to GAIA. [1217]

- Prevent older distortion models from overriding new distortion models
when performing a posteriori alignment to GAIA. [1220]

- Add explicit dependency on spherical-geometry package. [1232]

- Update how make_poller_files.py generates visit numbers. [1221]

- Insure both FLT and FLC headers have same a posteriori fit keywords. [1238]

- MVM: Make tool to quantify quality of GAIA alignment generic for general use. [1241]

- Fix logic to not align grism data in standard pipeline. [1243]

- Remove nictools as a dependency for this package. [1245]

- RickerWavelet Kernel for SBC to separate crowded PSFS needs to have
dimensions which are odd [1246]

- Refine headers for filter and total products to allow keywords like IPPPSSOO and ASN_ID
which only apply to single exposures
(or data from the same ASN) to be removed from SVM filter and total drizzle products and
from MVM layers drizzle products [1249]

- Remove logic from align that related to checking for alignment results in align.py
when it was not necessary so that more data can successfully align to GAIA. [1250]

- Add support for using astropy 5.0. [1280]

3.3.1

===================
This version provides bug fixes primarily
for the single-visit mosaic (SVM) processing.

- Insure a compatible version of photutils gets installed. [1151]

- Improve handling of segmentation catalog generation for
mostly or completely blank images. [1152]

- Changed default floating point value in catalogs
from -9999.9 to -9999.0. [1165]

- Avoid creating an empty manifest file when no images
get drizzled by SVM processing, unless the visit was
comprised solely of Grism/Prism data. [1174, 1181]

- Update total catalog to only remove sources which were
not measured successfully in any filter. [1175]

- Fix the units of a few variables in the output Point and
Segmentation catalogs [1178]

3.3.0

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

This version includes all the functionality needed to generate
source catalogs, both point source and extended (segment) source
catalogs, during single-visit mosaic (SVM) processing. In fact,

- Updated code to work with Python >= 3.7
- **GAIAeDR3** catalog now the initial catalog of choice for a posteriori alignment
during standard pipeline processing, as well as for SVM/MVM processing.
- SVM/MVM processing will loop over catalogs, fit methods and fit geometries in
looking for a successful fit, using the first successful fit it computes.

- CATALOGS used: **GAIAeDR3**, **GSC242**, **2MASS** (in this order)
- methods: relative, image-by-image
- geometries: **rscale**, **rshift**, **shift** (each with different minimum cross-matches)

- SVM processing will always generate both point source and extended source catalogs, even
if the catalogs contain no rows of sources and measurements.

- point source catalog will be generated using TinyTim PSF-based detection
- extended source (segment) catalog will only have sources larger
than the PSF kernel deblended.
- catalog columns will closely resemble the Hubble Legacy Archive (HLA) catalogs columns

- Grism/Prism exposures do not get aligned, but instead get the WCS correction from direct images
- Added logic to handle visits where there are only Grism/Prism exposures with no direct images
- ``S_REGION`` keyword:

- added to FLT/FLC file headers
- revised region computation to match closely the actual exposure footprint within mosaic

- Always runs ``updatewcs`` on input files to insure pipeline-default WCSs are always present

- Add ``WCSNAME=OPUS`` if no ``IDCTAB`` WCS was created by ``updatewcs`` (``NGOODPIX=0``, ...).

These changes, and additional significant bug fixes, were implemented using
the following github PRs:

- Implemented deblending of segmentation source catalogs ONLY
for sources larger than the PSF kernel. [1131]

- Insure SVM processing always generates point-source and
segmentation (extended) source catalogs, even if empty. [1129]

- Implemented an efficient single-image identifier of possible
cosmic-rays/defects, and applied it to help make image
alignment more reliable. [1129]

- Update logic for fitting between source lists to minimize/eliminate
use of fitting with less than 4 sources. [1129]

- Implemented model PSF-based point-source identification for SVM
point-source catalog generation. [903, 971, 1127]

- Removed dependence on private photutils functions while enabling
support for all photutils versions >= 1.0.0.
[1127, 1117, 1116, 1096]

- Set values for crowding, biggest source, and source
fraction for use when to use the RickerWavelet kernel and
when to deblend sources when identifying extended sources
using segmentation for the segment catalog. [1115]

- Implemented a more efficient algorithm based on Harris corner
detection for computing the ``S_REGION`` keyword for pipeline
and SVM drizzle products. [1106]

- Fix a memory corruption issue in ``interpolate_bilinear()`` in
``cdrizzleblot.c`` which could result in segfault. [1048]

- Fixed multiprocessing incompatibility with ``Python >= 3.8``. [1101]

- Add support for environment variable switch, ``PIPELINE_RESET_IDCTAB``,
to ``runastrodriz`` which will automatically reset ``IDCTAB``
in FLT/FLC files if different from ``IDCTAB`` in RAW files. [1046]

- Update documentation based on revisions to the code.
[941, 947, 953]

- Update default astrometry catalogs for alignment to try alignment to
the ``GAIA eDR3`` catalog first. [986, 1012]

- Enable user epoch selection when a user requests a GAIA catalog from
the astrometry catalog web service. [1006]

- Insure that ``HDRNAME`` is always valid for updated WCS solutions. [966]

- Revised ``S_REGION`` keyword value to reflect actual outline of chips in
drizzle products. [951]

- Sky Subtraction step will automatically downgrade from ``match`` to ``localmin``,
and from ``globalmin+match`` to ``globalmin`` when sky matching runs into an
Exception. [ 1007]

- Changed to insure that ``EXTNAME`` and ``EXTVER`` are always removed from
simple FITS drizzle product headers. [954]

- Changed to insure that all the distortion keywords (e.g., ``TDD*``, ``D2IM*``,...)
are removed from from the output drizzle product headers [954].

- Set a common active WCS for direct as well as corresponding Grism/Prism images [929, 946]

- Fix a bug in ``tweakback`` that may cause incorrect "updated" WCS to be
picked up from the drizzled image. [913]

- Added ``DRIZPARS`` keyword to final output drizzle product primary header
to document the name of the associated trailer file. [934, 1078]

In addition, numerous changes were made to insure this code stayed
compatible with numpy versions > 1.20 and astropy versions > 4.1.

Updates to the ``STWCS`` package version >= 1.6.0 also translated to
the following changes to the Drizzlepac processing:
- Insure HDRNAME keyword is never empty
- Remove duplicate headerlet extensions when running updatewcs
- Compute new a priori WCS solutions for new IDCTAB not already in astrometry database

***API Changes:***

**imageObject.py:**
- **class imageObject**: Added parameter ``output`` to enable determination
of rootname for use in processing of each detector.

**adrizzle.py:**
- **drizSeparate**: Added optional parameter ``logfile`` for specifying
what file to use for log messages.
- **drizFinal**: Added optional parameter ``logfile`` for specifying
what file to use for log messages.

**wcs_functions.py:**
- Removed ``hdulist`` as parameter from ``get_hstwcs``.

**haputils/analyze.py:**
- **analyze_data**: Added parameter ``type`` to customize logic for SVM
processing.

**haputils/astrometric_utils.py:**
- **retrieve_observation**: Added parameter ``product_type`` to allow for selection of
type of products to be returned; pipeline, HAP, or both.

**haputils/make_poller_files.py:**
- New function ``generate_poller_file`` added to create inputs for SVM processing
from files on disk.

**haputils/processing_utils.py:**
- New function ``find_footprint`` added to determine corners of all chips
in an image for computation of ``S_REGION`` keyword.
- New function ``interpret_sregion`` added to convert ``S_REGION`` keyword
value into list of RA/Dec points for visualization.

Page 2 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.