- Remove superfluous license file from the package. [#899]
- Removed the unused private function _blkavg. [#869]
- Elements of the data array in a flat image that are masked are set to 1 instead of 0.
- Removed unused
ccdproc.test(). Usepytest --pyargs ccdprocinstead. [#880] - Removed bundled copy of bitfield handling and use the one from astropy. [#886]
- Do not allow the first argument of
subtract_overscanto be a plain numpy array. [#867] Combiner.sigma_clippingno longer overwrites the existing mask. [#873]
- There was extensive modernization of the package infrastructure that should not affect users.
- Fixes incorrect parameter passed to helper in
cosmicray_lacosmic. [#796]
- Make ccdproc compatible with numpy 2. [#824]
- 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]
- The sigma clipping option in the image combiner now always uses the astropy sigma clipping function, and supports specifying the functions to use for estimating the center and deviation values as strings for common cases (which significantly improves performance). [#794]
- The image combiner now allows the optional overwrite of the optional output FITS file. [#797]
- In python 3.7 the
versionmethod frompackagingmust be imported directly. [#786]
- The
rebinfunction has been more clearly marked with a deprecation milestone. It will be removed in v3. [#780]
- Fixes compatibility with
astroscrappyversion1.1.0and deprecates old keyword arguments no longer used byastroscrappy. [#777, #778]
- Image combination is faster for average and sum combine, and improves
for all operations if the
bottleneckpackage is installed. [#741] - Pixel-wise weighting can be done for sum and average combine. [#741]
- When filtering an
ImageFileCollectionby 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. [#770] - Return mask and uncertainty from
combineeven if input images have no mask or uncertainty. [#775]
- Improve integration of
ImageFileCollectionwith image combination and document that integration [#762]
- Add memory_profiler as a test requirement [#739]
- Updated test suite to use absolute, not relative imports [#735]
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]
- Remove astropy_helpers from the package infrastructure, which also changes how the tests are run and how the documentation is built. [#717]
- Update units if gain is applied in
cosmicray_lacosmic. [#716, #705]
- Move generation of sample directory of images to avoid importing pytest in user installation. [#699, #700]
- Allow initialization of
ImageFileCollectionfrom a list of files with no location set. [#374, #661, #680] - Allow identification of FITS files in
ImageFileCollectionbased on content of the files instead of file name extension. [#620, #680] - Add option to use regular expression matching when filtering items in
ImageFileCollection. [#480, #595, #682] - Added an option to disregard negative values passed to
create_deviationand assume the error is represented by the read noise [#688] - Add
filtermethod toImageFileCollectionthat creates a new collection by filtering based on header keywords. [#596, #690]
- Dropped support for Python 2.x and Astropy 1.x.
- Removed deprecated property
summary_infoofImageFileCollection. - Improved handling of large flags in the
bitfieldmodule. [#610, #611] - Improved the performance of several
ImageFileCollectionmethods. [#599] - Added auto_logging configuration paramenter [#622, #90]
- Added support for .fz,.bz2, .Z and .zip file formats in
ImageFileCollection. [#623, #644] - Modified weights function to also accept 1D array in
Combiner. [#634, #670] - Added warning that
transform_imagedoes not apply the transformation to the WCS [#684] - When creating a new object in
wcs_transform, WCS keywords in the header are removed so that they are only stored in the WCS object [#685] - Improved warning for negative values in the array passed to
create_deviation[#688] - Removed support for initializing
ImageFileCollectionfrom a table instead of files. [#680] - More consistent typing of
ImageFileCollection.summarywhen the collection is empty. [#601, #680]
- Function
median_combinenow correctly calculates the uncertainty for maskedCCDData. [#608] - Function
combineavoids keeping files open unnecessarily. [#629, #630] - Function
combinemore accurately estimates memory use when deciding how to chunk files. [#638, #642] - Raise
ValueErrorerror insubtract_darkfor when the errors have different shapes [#674, #677] - Fix problem with column dtypes when initializing
ImageFileCollectionfrom a list of file names. [#662, #680]
- 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]
- 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]
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]
ccdproc has now the following additional dependency:
- scikit-image.
- Add an optional attribute named
filenamestoImageFileCollection, so that users can pass a list of FITS files to the collection. [#374, #403] - Added
block_replicate,block_reduceandblock_averagefunctions. [#402] - Added
median_filterfunction. [#420] combinenow takes an additionalcombine_uncertainty_functionargument which is passed asuncertainty_funcparameter toCombiner.median_combineorCombiner.average_combine. [#416]- Added
ccdmaskfunction. [#414, #432]
- ccdprocs core functions now explicitly add HIERARCH cards. [#359, #399, #413]
combinenow accepts adtypeargument which is passed toCombiner.__init__. [#391, #392]- Removed
CaseInsensitiveOrderedDictbecause it is not used in the current code base. [#428]
- The default dtype of the
combine-result doesn't depend on the dtype of the first CCDData anymore. This also corrects the memory consumption calculation. [#391, #392] ccd_processnow copies the meta of the input when subtracting the master bias. [#404]- Fixed
combinewithCCDDataobjects usingStdDevUncertaintyas uncertainty. [#416, #424] ccdsgenerator fromImageFileCollectionnow uses the full path to the file when callingfits_ccddata_reader. [#421 #422]
- Add an additional combination method,
clip_extrema, that drops the highest and/or lowest pixels in an image stack. [#356, #358]
cosmicray_lacosmicdefaultsatlevelchanged from 65536 to 65535. [#347]- Auto-identify files with extension
ftsas FITS files. [#355, #364] - Raise more explicit exception if unit of uncalibrated image and master do
not match in
subtract_biasorsubtract_dark. [#361, #366] - Updated the
Combinerclass so that it could process images with >2 dimensions. [#340, #375]
Combinercreates plain array uncertainties when using``average_combine`` ormedian_combine. [#351]flat_correctdoes not properly scale uncertainty in the flat. [#345, #363]- Error message in weights setter fixed. [#376]
The 1.0.1 release was a release to fix some minor packaging issues.
- ccdproc has now the following requirements:
- Python 2.7 or 3.4 or later.
- astropy 1.0 or later
- numpy 1.9 or later
- scipy
- astroscrappy
- reproject
- Add a WCS setter for
CCDData. [#256] - Allow user to set the function used for uncertainty calculation in
average_combineandmedian_combine. [#258] - Add a new keyword to ImageFileCollection.files_filtered to return the full path to a file [#275]
- Added ccd_process for handling multiple steps. [#211]
- CCDData.write now writes multi-extension-FITS files. The mask and uncertainty
are saved as extensions if these attributes were set. The name of the
extensions can be altered with the parameters
hdu_mask(default extension name'MASK') andhdu_uncertainty(default'UNCERT'). CCDData.read can read these files and has the same optional parameters. [#302]
- Issue warning if there are no FITS images in an
ImageFileCollection. [#246] - The overscan_axis argument in subtract_overscan can now be set to None, to let subtract_overscan provide a best guess for the axis. [#263]
- Add support for wildcard and reversed FITS style slicing. [#265]
- When reading a FITS file with CCDData.read, if no data exists in the primary hdu, the resultant header object is a combination of the header information in the primary hdu and the first hdu with data. [#271]
- Changed cosmicray_lacosmic to use astroscrappy for cleaning cosmic rays. [#272]
- CCDData arithmetic with number/Quantity now preserves any existing WCS. [#278]
- Update astropy_helpers to 1.1.1. [#287]
- Drop support for Python 2.6. [#300]
- The
add_keywordparameter now has a default ofTrue, to be more explicit. [#310] - Return name of file instead of full path in
ImageFileCollectiongenerators. [#315]
- Adding/Subtracting a CCDData instance with a Quantity with a different unit produced wrong results. [#291]
- The uncertainty resulting when combining CCDData will be divided by the square root of the number of combined pixel [#309]
- Improve documentation for read/write methods on
CCDData[#320] - Add correct path separator when returning full path from
ImageFileCollection.files_filtered. [#325]
- add a
sortmethod to ImageFileCollection [#274]
- Opt in to new container-based builds on travis. [#227]
- Update astropy_helpers to 1.0.5. [#245]
- Ensure that creating a WCS from a header that contains list-like keywords
(e.g.
BLANKorHISTORY) succeeds. [#229, #231]
There was no 0.3.2 release because of a packaging error.
- Add CCDData generator for ImageCollection [#405]
- Add extensive tests to ensure
ccdprocfunctions do not modify the input data. [#208] - Remove red-box warning about API stability from docs. [#210]
- Support astropy 1.0.5, which made changes to
NDData. [#242]
- Make
subtract_overscanact on a copy of the input data. [#206] - Overscan subtraction failed on non-square images if the overscan axis was the
first index,
0. [#240, #244]
- When reading in a FITS file, the extension to be used can be specified. If it is not and there is no data in the primary extension, the first extension with data will be used.
- Set wcs attribute when reading from a FITS file that contains WCS keywords and write WCS keywords to header when converting to an HDU. [#195]
- Updated CCDData to use the new version of NDDATA in astropy v1.0. This breaks backward compatibility with earlier versions of astropy.
- Ensure
dtypeof combined images matches thedtypeof theCombinerobject. [#189]
- Add dtype argument to ccdproc.Combiner to help control memory use [#178]
- Added Changes to the docs [#183]
- Allow the unit string "adu" to be upper or lower case in a FITS header [#182]
- Add a unit directly from BUNIT if it is available in the FITS header [#169]
- Relaxed the requirements on what the metadata must be. It can be anything dict-like, e.g. an astropy.io.fits.Header, a python dict, an OrderedDict or some custom object created by the user. [#167]
- Fixed a new-style formating issue in the logging [#170]
- Initial release.