Skip to content

Releases: astropy/ccdproc

2.4.1

30 May 16:02
Compare
Choose a tag to compare

This minor release fixes the astropy version requirement and a bug in handling an empty ImageFileCollection:

  • Fixes a crash when attempting to filter an already-empty ImageFileCollection,
    instead simply returning an empty ImageFileCollection. [#801]

  • Fixes minimum astropy version in installation requirements. [#799]

2.3.1 -- fixes astropy 5.1 compatibility

09 May 18:18
Compare
Choose a tag to compare

This minor release fixes compatibility with astropy 5.1 and includes a packaging fix from new contributor @astrobatty

2.3.0 -- cosmic ray update

21 Dec 20:41
Compare
Choose a tag to compare
  • The primary feature of this release is that it supports the latest astroscrappy release. astroscrappy is a Python/C implementation of the LAcosmic cosmic ray removal algorithm.

2.2.0 -- Image combination performance

31 May 14:48
Compare
Choose a tag to compare

This release contains some modest improvements in image combination performance. For the best performance, install the bottleneck. With bottleneck installed, median_combine is 2x faster.

Changes in this version:

  • Image combination is faster for average and sum combine, and improves for all operations if the bottleneck package is installed.
  • Pixel-wise weighting can be done for sum and average combine.
  • When filtering an ImageFileCollection by keyword value, and not explicitly using a regex search pattern (regex_match=True), escape all special characters in the keyword value for a successful search.
  • Return mask and uncertainty from combine even if input images have no mask or uncertainty.

Thanks to all of the people who contributed code, opened issues, and/or provided advice:

  • Timothy P. Ellsworth-Bowers (@tbowers7) and Pey Lian Lim (@pllim) wrote code for this release.
  • Yoonsoo Back (@ysBach) and Simon Conseil (@saimn) provided extensive input on image combination.
  • Issues opened by Yash Gondhalekar (@Yash-10), Michael Kelley (@mkelley), Jane Rigby (@janerigby), and Aayushi Verma
    (@awesomecosmos) were closed in this release.
  • Rieke Bohemann and Tim-Oliver Husser (@thusser) provided extensive details about issues with median combination which have been addressed in this release.

2.1.1

15 Mar 22:19
Compare
Choose a tag to compare

There are several minor fixes in this release:

New Features

  • Improve integration of ImageFileCollection with image combination and document that integration [#762]

Other Changes and Additions

  • Add memory_profiler as a test requirement [#739]
  • Updated test suite to use absolute, not relative imports [#735]

Bug Fixes

  • test_image_collection.py in the test suite no longer produces permanent files on disk and cleans up after itself. [#738]
  • Change Combiner to allow accepting either a list or a generator [#757]
  • ImageFileCollection now correctly returns an empty collection when an existing collection is filtered restrictively enough to remove all files. [#750]
  • Logging now preserves all of the arguments when the keyword argument names are not used. [#756]

Thanks to our contributors

These folks made code contributions to this release, which wouldn't have happened without them:

Thanks to these people who have helped by opening multiple issues with ccdproc -- many of the improvements come from these issues:

2.1.0 (re-relase for Zenodo)

07 Mar 23:50
Compare
Choose a tag to compare

The primary change in this release is a change to the behavior of cosmicray_lacosmic. Prior to this version the gain was applied to the input data without updating the units. That has been changed in this version. A more complete description is below.

There are two ways to correctly invoke ~ccdproc.cosmicray_lacosmic:

  • Supply a gain-corrected image, in units of electron, and set gain=1.0
    (the default value) in cosmicray_lacosmic.
  • Supply an image in adu and set the gain argument of
    cosmicray_lacosmic to the appropriate value for your
    instrument. Ideally, pass in a gain with units, but if units are
    omitted they will be assumed to be electron/adu.

ccdproc 2.0.1

06 Sep 02:26
Compare
Choose a tag to compare

2.0.1 fixes a bug that required pytest to be installed to import ccdproc.

Release notes from 2.0:

This is the first release of ccdproc that is Python 3 only!

New and improved

The ImageFileCollection for working with sets of images has several new features:

  • Construct a collection from an explicit list of files.
  • Filter files using regular expression matching.
  • Create a new collection by filtering an existing collection.

Other new features include:

  • Weights in image combination can be a 1D array.
  • Reduced memory in image combination.
  • Many fewer files open during image combination when using memory mapping and breaking the image stack into chunks.
  • Better performance and a wider array of compression types for ImageFileCollection.
  • Better handling of constructing error array when some image value are negative.

In addition, several bugs were fixed.

See the changelog for more details.

ccdproc 2.0

03 Sep 01:22
Compare
Choose a tag to compare

This is the first release of ccdproc that is Python 3 only!

New and improved

The ImageFileCollection for working with sets of images has several new features:

  • Construct a collection from an explicit list of files.
  • Filter files using regular expression matching.
  • Create a new collection by filtering an existing collection.

Other new features include:

  • Weights in image combination can be a 1D array.
  • Reduced memory in image combination.
  • Many fewer files open during image combination when using memory mapping and breaking the image stack into chunks.
  • Better performance and a wider array of compression types for ImageFileCollection.
  • Better handling of constructing error array when some image value are negative.

In addition, several bugs were fixed.

See the changelog for more details.

v1.3.0.post1

02 Dec 15:50
Compare
Choose a tag to compare

Changed released package on PyPI to tar.gz without Windows line-endings

v1.3.0

07 Nov 22:04
Compare
Choose a tag to compare

New Features

  • Add representation for ImageFileCollection. [#475, #515]

  • Added ext parameter and property to ImageFileCollection to specify the FITS
    extension. [#463]

  • Add keywords.deleter method to ImageFileCollection. [#474]

  • Added glob_include and glob_exclude parameter to
    ImageFileCollection. [#484]

  • Add bitfield_to_boolean_mask function to convert a bitfield to a
    boolean mask (following the numpy conventions). [#460]

  • Added gain_corrected option in ccd_process so that calibration
    files do not need to previously been gain corrected. [#491]

  • Add a new wcs_relax argument to CCDData.to_header() that is passed
    through to the WCS method of the same name to allow more flexible
    handing of headers with SIP distortion. [#501]

  • combine now accepts numpy.ndarray as the input img_list.
    [#493, #503]

  • Added sum option in method for combime. [#500, #508]

  • Add norm_value argument to flat_correct that allows the normalization
    of the flat frame to be manually specified. [#584, #577]

Other Changes and Additions

  • removed ability to set unit of CCDData to None. [#451]

  • deprecated summary_info property of ImageFileCollection now raises
    a deprecation warning. [#486]

  • Logging will include the abbreviation even if the meta attribute of
    the processed CCDData isn't a fits.Header. [#528]

  • The CCDData class and the functions fits_ccddata_reader and
    fits_ccddata_writer will be imported from astropy.nddata if
    astropy >= 2.0 is installed (instead of the one defined in ccdproc). [#528]

  • Building the documentation requires astropy >= 2.0. [#528]

  • When reading a CCDData from a file the WCS-related keywords are removed
    from the header. [#568]

  • The info_file argument for ImageFileCollection is now deprecated.
    [#585]

Bug Fixes

  • ImageFileCollection now handles Headers with duplicated keywords
    (other than COMMENT and HISTORY) by ignoring all but the first. [#467]

  • The ccd method of ImageFileCollection will raise an
    NotImplementedError in case the parameter overwrite=True or
    clobber=True is used instead of silently ignoring the parameter. [#527]

  • The sort method of ImageFileCollection now requires an explicitly
    given keys argument. [#534]

  • Fixed a problem with CCDData.read when the extension wasn't given and the
    primary HDU contained no data but another HDU did. In that case the header
    were not correctly combined. [#541]

  • Suppress errors during WCS creation in CCDData.read(). [#552]

  • The generator methods in ImageFileCollection now don't leave open file
    handles in case the iterator wasn't advanced or an exception was raised
    either inside the method itself or during the loop. [#553]

  • Allow non-string columns when filtering an ImageFileCollection with a
    string value. [#567]