Path to this page:
./
math/py-photutils,
Astropy coordinated module for astronomical photometry
Branch: CURRENT,
Version: 2.3.0,
Package name: py313-photutils-2.3.0,
Maintainer: pkgsrc-usersPhotutils is an Astropy coordinated Python module for astronomical photometry.
Master sites:
Filesize: 744.881 KB
Version history: (Expand)
- (2025-11-13) Updated to version: py313-photutils-2.3.0
- (2025-10-24) Package has been reborn
- (2025-10-24) Package deleted from pkgsrc
- (2025-10-09) Updated to version: py313-photutils-2.2.0
- (2025-07-15) Package has been reborn
- (2025-07-15) Package deleted from pkgsrc
CVS history: (Expand)
2025-11-13 13:28:35 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-photutils: updated to 2.3.0
2.3.0 (2025-09-15)
General
- The minimum required NumPy is now 1.25.
- The minimum required SciPy is now 1.11.1.
- The minimum required Matplotlib is now 3.8.
- The minimum required scikit-image is now 0.21.
New Features
- ``photutils.isophote``
- ``build_ellipse_model`` is now Cythonized and considerably faster.
- ``build_ellipse_model`` also has an additional optional keyword
argument ``sma_interval``, which was previously hardcoded.
- ``photutils.psf``
- ``PSFPhotometry`` and ``IterativePSFPhotometry`` now raise an error
if the input ``error`` array contains non-finite or zero values.
- ``GriddedPSFModel`` can now be used with a single input ePSF model,
which will be equivalent to ``ImagePSF``.
- The ``finder`` callable input to ``PSFPhotometry`` and
``IterativePSFPhotometry`` is no longer restricted to have x and y
column names of ``'xcentroid'`` and ``'ycentroid'``. The allowed
column names are now the same as those allowed in the
``init_params`` table.
- Added a ``group_warning_threshold`` keyword to ``PSFPhotometry`` and
``IterativePSFPhotometry``.
- The ``PSFPhotometry`` and ``IterativePSFPhotometry`` classes no
longer fail for invalid sources, defined as those that have no
overlap with the input data, are completely masked, or have too few
unmasked pixels for a fit. These classes have new flags (64, 128,
256, respectively) for these invalid conditions.
- The ``PSFPhotometry`` and ``IterativePSFPhotometry`` classes have
new ``results_to_init_params`` and ``results_to_model_params``
methods for outputting fit results in different formats.
- When using Astropy 7.0+, the ``PSFPhotometry`` and
``IterativePSFPhotometry`` ``fitter`` object now modifies the PSF
model in place instead of creating a copy, improving performance and
significantly reducing memory usage in some cases.
- ``PSFPhotometry`` and ``IterativePSFPhotometry`` now return a
reduced chi-squared statistic (``reduced_chi2`` column in the
results table).
- The PSF photometry classes now use a dynamically generated "flat"
model instead of a compound model for grouped sources. This
eliminates recursion limits and significantly reduces memory usage
for large groups.
- ``photutils.segmentation``
- An optional ``array`` keyword was added to the ``SourceCatalog``
``make_cutouts`` method.
- Added a ``group`` keyword to the ``SegmentationImage``
``to_regions`` method.
- Added a ``decode_psf_flags`` utility function for decoding PSF
photometry bit flags.
- Added a ``PSF_FLAGS`` object to hold all PSF photometry bit flags in
one place. PSF_FLAGS provides readable, named constants for each bit
flag and helper utilities for decoding bit flags.
|
| 2025-10-09 09:58:14 by Thomas Klausner | Files touched by this commit (442) |
Log message:
*: remove reference to (removed) Python 3.9
|
2025-04-16 13:19:25 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-photutils: updated to 2.2.0
2.2.0 (2025-02-18)
New Features
- ``photutils.aperture``
- Add an ``aperture_to_region`` function to convert an Aperture object
to an astropy ``Region`` or ``Regions`` object.
- ``photutils.profiles``
- Added ``data_radius`` and ``data_profile`` attributes to the
``RadialProfile`` class for calculating the raw radial profile.
- ``photutils.segmentation``
- Added a ``to_regions`` method to ``SegmentationImage`` that converts
the segment outlines to a ``regions.Regions`` object.
Bug Fixes
- ``photutils.segmentation``
- Fixed an issue where the ``SegmentationImage`` ``polygons``
attribute would raise an error if any source segment contained a
hole.
API Changes
- ``photutils.aperture``
- The ``theta`` attribute of ``EllipticalAperture``,
``EllipticalAnnulus``, ``RectangularAperture``, and
``RectangularAnnulus`` is now always returned as an angular
``Quantity``.
|
| 2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
| 2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325) |
Log message:
*: clean-up after python38 removal
|
| 2024-08-07 18:12:50 by Jonathan Perkin | Files touched by this commit (1) |
Log message:
py-photutils: Not for python39.
|
| 2024-05-18 15:37:34 by Thomas Klausner | Files touched by this commit (2) |
Log message:
py-photutils: convert to wheel.mk.
Add missing tool dependency while here.
Bump PKGREVISION.
|
| 2024-02-15 23:15:05 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-photutils: allow Python 3.11/3.12 now that py-scikit-image supports them
|