Revisions of python-photutils
- Update to 1.4.0 New Features * photutils.aperture * Added a copy method to Aperture objects. [#1304] * Added the ability to compare Aperture objects for equality. [#1304] * The theta keyword for EllipticalAperture, EllipticalAnnulus, RectangularAperture, and RectangularEllipse can now be an Astropy Angle or Quantity in angular units. [#1308] * Added an ApertureStats class for computing statistics of unmasked pixels within an aperture. [#1309, #1314, #1315, #1318] * Added a dtype keyword to the ApertureMask to_image method. [#1320] * photutils.background * Added an alpha keyword to the Background2D.plot_meshes method. [#1286] * Added a clip keyword to the BkgZoomInterpolator class. [#1324] * photutils.segmentation * Added SegmentationImage cmap attribute containing a default colormap. [#1319] * Improved the performance of SegmentationImage and SourceCatalog, especially for large data arrays. [#1320] * Added a convolved_data keyword to SourceCatalog. This is recommended instead of using the kernel keyword. [#1321] Bug Fixes * photutils.aperture * Fixed a bug in aperture_photometry where an error was not raised if the data and error arrays have different units.
- Update to 1.3.0 General * The metadata in output tables now contains version information for all dependencies. [#1274] New Features * photutils.centroid * Extra keyword arguments can be input to centroid_sources that are then passed on to the centroid_func if supported. [#1276,#1278] * photutils.segmentation * Added copy method to SourceCatalog. [#1264] * Added kron_photometry method to SourceCatalog. [#1264] * Added add_extra_property, remove_extra_property, remove_extra_properties, and rename_extra_property methods and extra_properties attribute to SourceCatalog. [#1264, #1268] * Added name and overwrite keywords to SourceCatalog circular_photometry and fluxfrac_radius methods. [#1264] * SourceCatalog fluxfrac_radius was improved for cases where the source flux doesn't monotonically increase with increasing radius. [#1264] * Added meta and properties attributes to SourceCatalog. [#1268] * The SourceCatalog output table (using to_table) meta dictionary now includes a field for the date/time. [#1268] * Added SourceCatalog make_kron_apertures method. [#1268] * Added SourceCatalog plot_circular_apertures and plot_kron_apertures methods. [#1268] Bug fixes * photutils.segmentation
- Update to 1.2.0 * The minimum required scipy version is 1.6.0 [#1239] photutils.aperture * Added a mask keyword to the area_overlap method. [#1241] photutils.background * Improved the performance of Background2D by up to 10-50% when the optional bottleneck package is installed. [#1232] * Added a masked keyword to the background classes MeanBackground, MedianBackground, ModeEstimatorBackground, MMMBackground, SExtractorBackground, BiweightLocationBackground, StdBackgroundRMS, MADStdBackgroundRMS, and BiweightScaleBackgroundRMS. [#1232] * Enable all background classes to work with Quantity inputs. [#1233] * Added a markersize keyword to the Background2D method plot_meshes. [#1234] * Added __repr__ methods to all background classes. [#1236] * Added a grid_mode keyword to BkgZoomInterpolator. [#1239] photutils.detection * Added a xycoords keyword to DAOStarFinder and IRAFStarFinder. [#1248] photutils.psf * Enabled the reuse of an output table from BasicPSFPhotometry and its subclasses as an initial guess for another photometry run. [#1251] * Added the ability to skip the group_maker step by inputing an initial guess table with a group_id column. [#1251] photutils.aperture * Fixed a bug when converting between pixel and sky apertures with a gwcs object. [#1221] photutils.background * Fixed an issue where Background2D could fail when using the 'pad' edge method. [#1227] photutils.detection * Fixed the DAOStarFinder import deprecation message. [#1195] photutils.morphology * Fixed an issue in data_properties where a scalar background input would raise an error. [#1198] photutils.psf * Fixed an issue in prepare_psf_model when xname or yname was None where the model offsets were applied in the wrong direction, resulting in the initial photometry guesses not being improved by the fit. [#1199] photutils.segmentation * Fixed an issue in SourceCatalog where the user-input mask was ignored when apermask_method='correct' for Kron-related calculations. [#1210] * Fixed an issue in SourceCatalog where the segment array could incorrectly have units. [#1220] photutils.utils * Fixed an issue in ShepardIDWInterpolator to allow its initialization with scalar data values and coordinate arrays having more than one dimension. [#1226] API changes photutils.aperture * The ApertureMask.get_values() function now returns an empty array if there is no overlap with the data. [#1212] * Removed the deprecated BoundingBox.slices and PixelAperture. bounding_boxes attributes. [#1215] photutils.background * Invalid data values (i.e., NaN or inf) are now automatically masked in Background2D. [#1232] * The background classes MeanBackground, MedianBackground, ModeEstimatorBackground, MMMBackground, SExtractorBackground, BiweightLocationBackground, StdBackgroundRMS, MADStdBackgroundRMS, and BiweightScaleBackgroundRMS now return by default a numpy.ndarray with np.nan values representing masked pixels instead of a masked array. A masked array can be returned by setting masked=True. [#1232] * Deprecated the Background2D attributes background_mesh_ma and background_rms_mesh_ma. They have been renamed to background_mesh_masked and background_rms_mesh_masked. [#1232] * By default, BkgZoomInterpolator now uses grid_mode=True. For zooming 2D images, this keyword should be set to True, which makes the interpolator’s behavior consistent with scipy. ndimage.map_coordinates, skimage.transform.resize, and OpenCV (cv2.resize). If backwards-compatiblity is needed with older Photutils’ versions, set grid_mode=False. [#1239] photutils.centroid * Deprecated the gaussian1d_moments and centroid_epsf functions. [#1240] photutils.datasets * Removed the deprecated random_state keyword in the apply_poisson_noise, make_noise_image, make_random_models_table, and make_random_gaussians_table functions. [#1244] * make_random_models_table and make_random_gaussians_table now return an astropy QTable with version metadata. [#1247] photutils.detection * DAOStarFinder, IRAFStarFinder, and find_peaks now return an astropy QTable with version metadata. [#1247] * The StarFinder label column was renamed to id for consistency with the other star finder classes. [#1254] photutils.isophote * The Isophote to_table method nows return an astropy QTable with version metadata. [#1247] photutils.psf * BasicPSFPhotometry, IterativelySubtractedPSFPhotometry, and DAOPhotPSFPhotometry now return an astropy QTable with version metadata. [#1247] photutils.segmentation * Deprecated the filter_kernel keyword in the detect_sources, deblend_sources, and make_source_mask functions. It has been renamed to simply kernel for consistency with SourceCatalog. [#1242] * Removed the deprecated random_state keyword in the make_cmap method. [#1244] * The SourceCatalog to_table method nows return an astropy QTable with version metadata. [#1247] photutils.utils * Removed the deprecated check_random_state function. [#1244] * Removed the deprecated random_state keyword in the make_random_cmap function. [#1244]
buildservice-autocommit
accepted
request 880276
from
Benjamin Greiner (bnavigator)
(revision 27)
baserev update by copy to link target
- Update ot Version 1.1.0 General ------- * The minimum required python version is 3.7. [#1120] New Features ------------ photutils.aperture * The PixelAperture.plot() method now returns a list of matplotlib.patches.Patch objects. [#923] * Added an area_overlap method for PixelAperture objects that gives the overlapping area of the aperture on the data. [#874] * Added a get_overlap_slices method and a center attribute to BoundingBox. [#1157] * Added a get_values method to ApertureMask that returns a 1D array of mask-weighted values. [#1158, #1161] * Added get_overlap_slices method to ApertureMask. [#1165] photutils.background * The Background2D class now accepts astropy NDData, CCDData, and Quantity objects as data inputs. [#1140] photutils.detection * Added a StarFinder class to detect stars with a user-defined kernel. [#1182] photutils.isophote * Added the ability to specify the output columns in the IsophoteList to_table method. [#1117] photutils.psf * The EPSFStars class is now usable with multiprocessing. [#1152] * Slicing EPSFStars now returns an EPSFStars instance. [#1185] photutils.segmentation
buildservice-autocommit
accepted
request 865099
from
Benjamin Greiner (bnavigator)
(revision 25)
baserev update by copy to link target
- Update to Version 1.0.2 General ------ photutils.background * Improved the performance of Background2D (e.g., by a factor of ~4 with 2048x2048 input arrays when using the default interpolator). [#1103, #1108] Bug Fixes -------- photutils.background * Fixed a bug with Background2D where using BkgIDWInterpolator would give incorrect results. [#1104] photutils.isophote * Corrected calculations of upper harmonics and their errors [#1089] * Fixed bug that caused an infinite loop when the sample extracted from an image has zero length. [#1129] * Fixed a bug where the default fixed_parameters in EllipseSample.update() were not defined. [#1139] photutils.psf * Fixed a bug where very incorrect PSF-fitting uncertainties could be returned when the astropy fitter did not return fit uncertainties. [#1143] photutils.segmentation * Fixed an issue where negative Kron radius values could be returned, which would cause an error when calculating Kron fluxes. [#1132] * Fixed an issue where an error was raised with SegmentationImage.remove_border_labels() with
buildservice-autocommit
accepted
request 864140
from
Benjamin Greiner (bnavigator)
(revision 23)
baserev update by copy to link target
- Add photutils-ease-background2d-tests.patch -- ease precision tolerance in background 2D tests gh#astropy/photutils#1145
buildservice-autocommit
accepted
request 837400
from
Benjamin Greiner (bnavigator)
(revision 21)
baserev update by copy to link target
- Update to Version 1.0.1 Bug Fixes * photutils.psf Fixed checks on oversampling factors. [#1086]
buildservice-autocommit
accepted
request 836282
from
Benjamin Greiner (bnavigator)
(revision 19)
baserev update by copy to link target
- Update to Version 1.0.0 - Drop patches merged upstream * 0001-aperture-mask-test-assert-almost-equal.patch * photutils-pr1041-update-watershed-import.patch
buildservice-autocommit
accepted
request 826649
from
Benjamin Greiner (bnavigator)
(revision 17)
baserev update by copy to link target
- add photutils-pr1041-update-watershed-import.patch to fix failing test gh#astropy/photutils#1041
buildservice-autocommit
accepted
request 821554
from
Tomáš Chvátal (scarabeus_iv)
(revision 15)
baserev update by copy to link target
- actually detect failures with sys.exit(photutils.test())
buildservice-autocommit
accepted
request 820967
from
Tomáš Chvátal (scarabeus_iv)
(revision 13)
baserev update by copy to link target
- fix failing tests: use astropy's test suite logic to call pytest - add URL for 0001-aperture-mask-test-assert-almost-equal.patch gh#astropy/photutils#1014
Displaying revisions 21 - 40 of 51