Drizzlepac

Latest version: v3.7.0

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

Scan your dependencies

Page 8 of 12

2.1.3

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

- Improved ASN input file handling.

- ``astrodrizzle`` does not delete ``d2imfile`` anylonger allowing multiple
runs of ``updatewcs`` on the same WFPC2 image, see
`Ticket 1244 <https://trac.stsci.edu/ssb/stsci_python/ticket/1244>`_
for more details.

- Allow exclusion regions in ``tweakreg`` to be in a different directory and
allow relative path in exclusion region file name.

- Improved handling of empty input image lists.

- ``tweakreg`` bug fix: use absolute value of polygon area.

2.1.2

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

- ``runastrodriz`` moved to ``drizzlepac`` from ``acstools`` and
``wfc3tools`` packages.

- Improved logic for duplicate input detection.

- Improved logic for handling custom WCS parameters in ``astrodrizzle``.

- Compatibility improvements with Python 3.

2.1.1

=====

**Available under SSBX/IRAFX starting:** Nov 17, 2015

This release includes the following bug fixes:

- Resolved order of operation problems when processing WFPC2 data with
DGEOFILEs.

- The conversion of the WFPC2 ``DGEOFILE`` into ``D2IMFILE`` is now
incorporated into ``STWCS`` v1.2.3 (r47112, r47113, r47114) rather than a
part of ``astrodrizzle``. This requires users to run updatewcs first, then
``astrodrizzle``/``tweakreg`` will work with that WFPC2 data seamlessly
(as if they were ACS or WFC3 data).

- Compatibility improvements with Python 3.

2.1.0

=====

**Available under SSBX/IRAFX starting:** Nov 2, 2015

This version builds upon the major set of changes implemented in v2.0.0 by not
only fixing some bugs, but also cleaning up/changing/revising some APIs and
docstrings. The complete list of changes includes:

- [API Change] The 'updatewcs' parameter was removed from both the
``astrodrizzle`` and ``tweakreg`` interactive TEAL interfaces.
The 'updatewcs' parameter can still be used with the Python interface for
both the ``astrodrizzle``. ``astrodrizzle``() and ``tweakreg``. Call the
``stwcs.updatewcs.updatewcs()`` function separately before running
``astrodrizzle`` or ``tweakreg``.

- [API Change] The stand-alone interface for the blot routine
(``ablot.blot()``) has been revised to work seamlessly with
astrodrizzle-generated products while being more obvious how to call it
correctly. The help file for this task was also heavily revised to document
all the input parameters and to provide an example of how to use the task.

- [API Change] Coordinate transformation task
(``pixtopix``/``pixtosky``/``skytopix``) interfaces changed to be more
consistent, yet remain backward-compatible for now.

- Both ``astrodrizzle`` and ``tweakreg`` now return an output CD matrix which
has identical cross-terms indicating the same scale and orientation in each
axis (an orthogonal CD matrix). This relies on a revision to the
``stwcs.distortion.utils.output_wcs()`` function.

- The user interfaces to all 3 coordinate transformation tasks now use
'coordfile' as the input file of coordinates to transform. The use
of 'coords' has been deprecated, but still can be used if needed. However,
use of 'coordfile' will always override any input provided simultaneously
with 'coords' parameter. Help files have been updated to document this as
clearly as possible for users.

- User-provided list of input catalogs no longer needs to be matched exactly
with input files. As long as all input images are included in input catalog
list in any order, ``tweakreg`` will apply the correct catalog to the
correct file.

- ``tweakreg`` has been updated to correctly and fully apply source selection
criteria for both input source catalogs and reference source catalogs based
on ``fluxmin``, ``fluxmax`` and ``nbright`` for each.

- All use of keyword deletion has been updated in ``drizzlepac`` (and
``fitsblender``) to avoid warnings from astropy.

- All 3 coordinate transformation tasks rely on the input of valid WCS
information for the calculations. These tasks now warn the user when it
could not find a valid WCS and instead defaulted to using a unity WCS, so
that the user can understand what input needs to be checked/revised to get
the correct results.

- Exclusion/inclusion region files that can be used with ``tweakreg`` can now
be specified in image coordinates and sky coordinates and will only support
files written out using DS9-compatible format.

- The filename for 'final_refimage' in ``astrodrizzle`` and 'refimage' in
``tweakreg`` can now be specified with OR without an extension, such as
'[sci,1]' or '[0]'. If no extension is specified, it will automatically
look for the first extension with a valid HSTWCS and use that. This makes
the use of this parameter in both place consistent and more general than
before.

- The reported fit as written out to a file has been slightly modified to
report more appropriate numbers of significant digits for the results.

- Use of astrolib.coords was removed from ``drizzlepac`` and replaced by use
of astropy functions instead. This eliminated one more obsolete dependency
in our software.

- Code was revised to rely entirely on ``astropy.wcs`` instead of stand-alone
pywcs.

- Code was revised to rely entirely on ``astropy.io.fits`` instead of
stand-alone pyfits.

- Added ``photeq`` task to account for inverse sensitivity variations across
detector chips and/or epochs.

- WFPC2 data from the archive with ``DGEOFILE`` reference files will now need
to be processed using ``stwcs.updatewcs`` before running them through
``astrodrizzle`` or ``tweakreg``. This update converts the obsolete,
unsupported ``DGEOFILE`` correction for the WFPC2 data into a ``D2IMFILE``
specific for each WFPC2 observation, then uses that to convert the WCS based
on the new conventions used for ACS and WFC3.

This set of changes represents the last major development effort for
``DrizzlePac`` in support of HST. Support of this code will continue
throughout the lifetime of HST, but will be limited primarily to bug fixes
to keep the code viable as Python libraries used by ``DrizzlePac`` continue
to develop and evolve with the language.

2.0.0

=====

** Available under SSBX/IRAFX starting:** Aug 4, 2014

This version encompasses a large number of updates and revisions to the
``DrizzlePac`` code, including the addition of new tasks and several parameter
name changes. The scope of these changes indicates the level of effort that
went into improving the ``DrizzlePac`` code to make it easier and more
productive for users. The most significant updates to the ``DrizzlePac``
code include:

- The Python code has been updated to work identically (without change) under
both Python 2.7 and Python 3.x.

- Implementing sky matching, a new algorithm for matching the sky across a set
of images being combined by ``astrodrizzle``.

- Updating ``tweakreg`` to now align full mosaics where some images may not
overlap others in the mosaic.

- Added the option to write out single drizzle step images as compressed images
(to save disk space for large mosaics, and I/O time for single drizzle step).

- Improved ``tweakreg`` residual plots visually while allowing them to be
written out automatically when ``tweakreg`` gets run in non-interactive mode.

- Renamed parameters in ``tweakreg`` and imagefind to eliminate name clashes.

- Added option to select sources based on sharpness/roundness when ``tweakreg``
searches for sources.

- Added support for exclusion and inclusion regions arbitrary shape/size when
``tweakreg`` searches for sources.

- Added a full set of source detection parameters for reference image to
support multi-instrument alignment in ``tweakreg``.

- Added support for new (simpler, more robust) ACS calibration of
time-dependent distortion.

- A full 6-parameter general linear fit can now be performed using
``tweakreg``, in addition to shift and rscale.

- Cleaned up logic for sky-subtraction: user can now turn off sky-subtraction
with skysub=no, and still specify a user-defined sky value as the skyuser
keyword. This will reduce(eliminate?) the need to manually set
``MDRIZSKY=0``.

In addition to these major updates/changes, numerous smaller bugs were fixed
and other revisions were implemented which affected a small portion of the
use cases, such as:

- headerlet code now accepts lists of files to be updated.

- source sky positions (RA and Dec) now included in match file.

- DQ flags can now be taken into account when performing source finding in
``tweakreg``.

- all intermediate files generated by ``astrodrizzle`` will now be removed when
using 'clean'='yes'.

- a problem was fixed that caused ``createMedian`` to crash where there were no
good pixels in one of the images (when they did not overlap).

- interpretation of shiftfile now improved to handle arbitrarily-long
filenames, rather than being limited to 24 character filenames.

- documentation has been updated, sometimes with a lot more extensive
descriptions.

This version of ``DrizzlePac`` also requires use of the latest release version
of astropy primarily for WCS and FITS I/O support.

1.1.16

======

**Publicly Released through PyPI:** Mar 27, 2014

**Available under SSBX/IRAFX starting:** Mar 13, 2014

- Support for WFPC2 GEIS input images improved to correctly find the associated
DQ images.

- Static mask files created for all chips in an image now get deleted when
using the 'group' parameter to only drizzle a single chip or subset of chips.
- Fixed problem caused by changes to ``stsci.tools`` code so that
``drizzlepac`` will reference the correct extensions in input images.

Page 8 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.