Releases: astropy/ccdproc
2.5.1: The final 2.x release
What's Changed
Full Changelog: 2.5.0...2.5.1
2.5.0
What's Changed
- Remove plain numpy array as argument option by @mwcraig in #867
- Remove unused private function by @mwcraig in #869
- Update Numpy RNG calls. Fixes #839 by @AlexN1234 in #871
- Use more appropriate comparison for floating point tests by @mwcraig in #877
- Minor masking and flat-field updates by @kbwestfall in #873
- MNT: Remove test runner, other clean-ups by @pllim in #880
- TST: Fetch tags for dynamic version by @pllim in #882
- Drop manifest and restore some of conftest.py to ccdproc by @mwcraig in #884
- Use astropy's bitmask instead of bundling a copy by @mwcraig in #886
- Add publish workflow by @mwcraig in #898
New Contributors
- @AlexN1234 made their first contribution in #871
- @kbwestfall made their first contribution in #873
Full Changelog: 2.4.3...2.5.0
2.4.3
What's Changed
The important change is this one:
- Fixes #796 - cosmicray_lacosmic data type return by @allisoneto in #831
New Contributors
- @allisoneto made their first contribution in #831
The rest of the maintenance fixes were:
- DOC: adapt a docstest for numpy 2 (representation of scalars changed) (round 2) by @neutrinoceros in #829
- TST: pin numpy<2 for tests with old astroscrappy by @neutrinoceros in #830
- Migrate to pyproject.toml instead of setup.cfg by @mwcraig in #832
- Black format codebase by @mwcraig in #833
- Add pre-commit and auto-formatting with black by @mwcraig in #834
- Update test matrix for newer versions of numpy by @mwcraig in #836
- Workflow maintainance by @mwcraig in #837
- Address a few minor issues identified by scientific python repo checker by @mwcraig in #838
- Add ruff linting to ccdproc by @mwcraig in #840
- Add some configuration of pre-commit.ci by @mwcraig in #843
- MNT: Use hash for Action workflow versions and update if needed by @mwcraig in #844
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #846
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 in the actions group by @dependabot in #845
- Bump the actions group across 1 directory with 3 updates by @dependabot in #853
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #848
- Bump codecov/codecov-action from 5.0.2 to 5.0.7 in the actions group by @dependabot in #854
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #855
- Fix error in test case by @mwcraig in #859
- Bump codecov/codecov-action from 5.0.7 to 5.1.2 in the actions group across 1 directory by @dependabot in #858
- Update ruff version by @mwcraig in #860
Full Changelog: 2.4.2...2.4.3.alpha0
2.4.2
2.4.1
This minor release fixes the astropy version requirement and a bug in handling an empty ImageFileCollection:
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
2.3.0 -- cosmic ray update
- The primary feature of this release is that it supports the latest
astroscrappyrelease.astroscrappyis a Python/C implementation of the LAcosmic cosmic ray removal algorithm.
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.
2.1.1
There are several minor fixes in this release:
New Features
- Improve integration of
ImageFileCollectionwith 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.pyin the test suite no longer produces permanent files on disk and cleans up after itself. [#738]- Change
Combinerto allow accepting either a list or a generator [#757] ImageFileCollectionnow 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)
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 setgain=1.0
(the default value) incosmicray_lacosmic. - Supply an image in
aduand set thegainargument of
cosmicray_lacosmicto the appropriate value for your
instrument. Ideally, pass in againwith units, but if units are
omitted they will be assumed to beelectron/adu.