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 - 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
astroscrappyrelease.astroscrappyis 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 - 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)
- 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 setgain=1.0(the default value) incosmicray_lacosmic. - Supply an image in
aduand set thegainargument ofcosmicray_lacosmicto the appropriate value for your instrument. Ideally, pass in againwith units, but if units are omitted they will be assumed to beelectron/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_includeandglob_excludeparameter toImageFileCollection. [#484]Add
bitfield_to_boolean_maskfunction to convert abitfieldto a boolean mask (following the numpy conventions). [#460]Added
gain_correctedoption in ccd_process so that calibration files do not need to previously been gain corrected. [#491]Add a new
wcs_relaxargument toCCDData.to_header()that is passed through to theWCSmethod of the same name to allow more flexible handing of headers with SIP distortion. [#501]combinenow acceptsnumpy.ndarrayas the inputimg_list. [#493, #503]Added
sumoption in method forcombime. [#500, #508]Add
norm_valueargument toflat_correctthat 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_infoproperty ofImageFileCollectionnow raises a deprecation warning. [#486]Logging will include the abbreviation even if the
metaattribute of the processedCCDDataisn't afits.Header. [#528]The
CCDDataclass and the functionsfits_ccddata_readerandfits_ccddata_writerwill be imported fromastropy.nddataif astropy >= 2.0 is installed (instead of the one defined inccdproc). [#528]Building the documentation requires astropy >= 2.0. [#528]
When reading a
CCDDatafrom a file the WCS-related keywords are removed from the header. [#568]The
info_fileargument forImageFileCollectionis now deprecated. [#585]
Bug Fixes
ImageFileCollectionnow handles Headers with duplicated keywords (other thanCOMMENTandHISTORY) by ignoring all but the first. [#467]The
ccdmethod ofImageFileCollectionwill raise anNotImplementedErrorin case the parameteroverwrite=Trueorclobber=Trueis used instead of silently ignoring the parameter. [#527]The
sortmethod ofImageFileCollectionnow requires an explicitly givenkeysargument. [#534]Fixed a problem with
CCDData.readwhen the extension wasn't given and the primary HDU contained nodatabut 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
ImageFileCollectionnow 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
ImageFileCollectionwith a string value. [#567]
- Python
Published by mwcraig over 8 years ago