Recent Releases of ccdproc

ccdproc - 2.5.1: The final 2.x release

What's Changed

  • Remove license for bitfield [ci skip] by @mwcraig in https://github.com/astropy/ccdproc/pull/899

Full Changelog: https://github.com/astropy/ccdproc/compare/2.5.0...2.5.1

- Python
Published by mwcraig 8 months ago

ccdproc - 2.5.0

What's Changed

  • Remove plain numpy array as argument option by @mwcraig in https://github.com/astropy/ccdproc/pull/867
  • Remove unused private function by @mwcraig in https://github.com/astropy/ccdproc/pull/869
  • Update Numpy RNG calls. Fixes #839 by @AlexN1234 in https://github.com/astropy/ccdproc/pull/871
  • Use more appropriate comparison for floating point tests by @mwcraig in https://github.com/astropy/ccdproc/pull/877
  • Minor masking and flat-field updates by @kbwestfall in https://github.com/astropy/ccdproc/pull/873
  • MNT: Remove test runner, other clean-ups by @pllim in https://github.com/astropy/ccdproc/pull/880
  • TST: Fetch tags for dynamic version by @pllim in https://github.com/astropy/ccdproc/pull/882
  • Drop manifest and restore some of conftest.py to ccdproc by @mwcraig in https://github.com/astropy/ccdproc/pull/884
  • Use astropy's bitmask instead of bundling a copy by @mwcraig in https://github.com/astropy/ccdproc/pull/886
  • Add publish workflow by @mwcraig in https://github.com/astropy/ccdproc/pull/898

New Contributors

  • @AlexN1234 made their first contribution in https://github.com/astropy/ccdproc/pull/871
  • @kbwestfall made their first contribution in https://github.com/astropy/ccdproc/pull/873

Full Changelog: https://github.com/astropy/ccdproc/compare/2.4.3...2.5.0

- Python
Published by mwcraig 8 months ago

ccdproc - 2.4.3

What's Changed

The important change is this one:

  • Fixes #796 - cosmicray_lacosmic data type return by @allisoneto in https://github.com/astropy/ccdproc/pull/831

New Contributors

  • @allisoneto made their first contribution in https://github.com/astropy/ccdproc/pull/831

The rest of the maintenance fixes were:

  • DOC: adapt a docstest for numpy 2 (representation of scalars changed) (round 2) by @neutrinoceros in https://github.com/astropy/ccdproc/pull/829
  • TST: pin numpy<2 for tests with old astroscrappy by @neutrinoceros in https://github.com/astropy/ccdproc/pull/830
  • Migrate to pyproject.toml instead of setup.cfg by @mwcraig in https://github.com/astropy/ccdproc/pull/832
  • Black format codebase by @mwcraig in https://github.com/astropy/ccdproc/pull/833
  • Add pre-commit and auto-formatting with black by @mwcraig in https://github.com/astropy/ccdproc/pull/834
  • Update test matrix for newer versions of numpy by @mwcraig in https://github.com/astropy/ccdproc/pull/836
  • Workflow maintainance by @mwcraig in https://github.com/astropy/ccdproc/pull/837
  • Address a few minor issues identified by scientific python repo checker by @mwcraig in https://github.com/astropy/ccdproc/pull/838
  • Add ruff linting to ccdproc by @mwcraig in https://github.com/astropy/ccdproc/pull/840
  • Add some configuration of pre-commit.ci by @mwcraig in https://github.com/astropy/ccdproc/pull/843
  • MNT: Use hash for Action workflow versions and update if needed by @mwcraig in https://github.com/astropy/ccdproc/pull/844
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/astropy/ccdproc/pull/846
  • Bump codecov/codecov-action from 4.5.0 to 4.6.0 in the actions group by @dependabot in https://github.com/astropy/ccdproc/pull/845
  • Bump the actions group across 1 directory with 3 updates by @dependabot in https://github.com/astropy/ccdproc/pull/853
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/astropy/ccdproc/pull/848
  • Bump codecov/codecov-action from 5.0.2 to 5.0.7 in the actions group by @dependabot in https://github.com/astropy/ccdproc/pull/854
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/astropy/ccdproc/pull/855
  • Fix error in test case by @mwcraig in https://github.com/astropy/ccdproc/pull/859
  • Bump codecov/codecov-action from 5.0.7 to 5.1.2 in the actions group across 1 directory by @dependabot in https://github.com/astropy/ccdproc/pull/858
  • Update ruff version by @mwcraig in https://github.com/astropy/ccdproc/pull/860 Full Changelog: https://github.com/astropy/ccdproc/compare/2.4.2...2.4.3.alpha0

- Python
Published by mwcraig about 1 year ago

ccdproc -

- Python
Published by bsipocz about 1 year ago

ccdproc - 2.4.1

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]

- Python
Published by mwcraig over 2 years ago

ccdproc - 2.3.1 -- fixes astropy 5.1 compatibility

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

- Python
Published by mwcraig almost 4 years ago

ccdproc - 2.3.0 -- cosmic ray update

  • 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.

- Python
Published by mwcraig about 4 years ago

ccdproc - 2.2.0 -- Image combination performance

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.

- Python
Published by mwcraig over 4 years ago

ccdproc - 1.2.0 (for zenodo)

- Python
Published by mwcraig almost 5 years ago

ccdproc - 2.1.1

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:

  • Larry Bradley (@larrybradley)
  • Timothy P. Ellsworth-Bowers (@tbowers7)
  • Yash Gondhalekar (@Yash-10)
  • Kelvin Lee (@laserkelvin)
  • Pey Lian Lim (@pllim)
  • Jenna Ryon (@jryon)

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

  • Juan Cabanela (@JuanCab)
  • @mheida
  • Sara Ogaz (@SaOgaz)
  • Jean-Paul Ventura (@jvntra)
  • Kerry Paterson (@KerryPaterson)
  • Jane Rigby (@janerigby)
  • Kris Stern (@kakirastern)
  • Alexa Villaume (@AlexaVillaume)
  • Brian York (@york-stsci)
  • Sylvielsstfr (@sylvielsstfr)

- Python
Published by mwcraig almost 5 years ago

ccdproc - 2.1.0 (re-relase for Zenodo)

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.

- Python
Published by mwcraig almost 5 years ago

ccdproc - ccdproc 2.0.1

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.

- Python
Published by mwcraig over 6 years ago

ccdproc - ccdproc 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.

- Python
Published by mwcraig over 6 years ago

ccdproc - v1.3.0.post1

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

- Python
Published by MSeifert04 about 8 years ago

ccdproc - v1.3.0

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]

- Python
Published by mwcraig over 8 years ago

ccdproc - v1.0

Release of ccdproc version 1.0

- Python
Published by crawfordsm almost 10 years ago