pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-photutils



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Nov 13 12:28:35 UTC 2025

Modified Files:
        pkgsrc/math/py-photutils: Makefile PLIST distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/math/py-photutils/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/py-photutils/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/py-photutils/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-photutils/Makefile
diff -u pkgsrc/math/py-photutils/Makefile:1.15 pkgsrc/math/py-photutils/Makefile:1.16
--- pkgsrc/math/py-photutils/Makefile:1.15      Thu Oct  9 07:57:48 2025
+++ pkgsrc/math/py-photutils/Makefile   Thu Nov 13 12:28:35 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2025/10/09 07:57:48 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2025/11/13 12:28:35 adam Exp $
 
-DISTNAME=      photutils-2.2.0
+DISTNAME=      photutils-2.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/photutils/}
@@ -11,13 +11,12 @@ COMMENT=    Astropy coordinated module for 
 LICENSE=       modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-cython>=3.0.0:../../devel/py-cython
-TOOL_DEPENDS+= ${PYPKGPREFIX}-extension-helpers>=1:../../devel/py-extension-helpers
+TOOL_DEPENDS+= ${PYPKGPREFIX}-extension-helpers>=1.3:../../devel/py-extension-helpers
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-astropy>=5.3:../../math/py-astropy
 DEPENDS+=      ${PYPKGPREFIX}-extension-helpers>=0.1:../../devel/py-extension-helpers
-DEPENDS+=      ${PYPKGPREFIX}-gwcs>=0.12:../../math/py-gwcs
-DEPENDS+=      ${PYPKGPREFIX}-scipy>=1.10:../../math/py-scipy
+DEPENDS+=      ${PYPKGPREFIX}-scipy>=1.11.1:../../math/py-scipy
 
 PYTHON_VERSIONS_INCOMPATIBLE=  310
 

Index: pkgsrc/math/py-photutils/PLIST
diff -u pkgsrc/math/py-photutils/PLIST:1.3 pkgsrc/math/py-photutils/PLIST:1.4
--- pkgsrc/math/py-photutils/PLIST:1.3  Wed Apr 16 11:19:25 2025
+++ pkgsrc/math/py-photutils/PLIST      Thu Nov 13 12:28:35 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2025/04/16 11:19:25 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/11/13 12:28:35 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -234,6 +234,7 @@ ${PYSITELIB}/photutils/isophote/__init__
 ${PYSITELIB}/photutils/isophote/ellipse.py
 ${PYSITELIB}/photutils/isophote/ellipse.pyc
 ${PYSITELIB}/photutils/isophote/ellipse.pyo
+${PYSITELIB}/photutils/isophote/ellipse_model.so
 ${PYSITELIB}/photutils/isophote/fitter.py
 ${PYSITELIB}/photutils/isophote/fitter.pyc
 ${PYSITELIB}/photutils/isophote/fitter.pyo
@@ -341,12 +342,18 @@ ${PYSITELIB}/photutils/profiles/tests/te
 ${PYSITELIB}/photutils/psf/__init__.py
 ${PYSITELIB}/photutils/psf/__init__.pyc
 ${PYSITELIB}/photutils/psf/__init__.pyo
+${PYSITELIB}/photutils/psf/_components.py
+${PYSITELIB}/photutils/psf/_components.pyc
+${PYSITELIB}/photutils/psf/_components.pyo
 ${PYSITELIB}/photutils/psf/epsf.py
 ${PYSITELIB}/photutils/psf/epsf.pyc
 ${PYSITELIB}/photutils/psf/epsf.pyo
 ${PYSITELIB}/photutils/psf/epsf_stars.py
 ${PYSITELIB}/photutils/psf/epsf_stars.pyc
 ${PYSITELIB}/photutils/psf/epsf_stars.pyo
+${PYSITELIB}/photutils/psf/flags.py
+${PYSITELIB}/photutils/psf/flags.pyc
+${PYSITELIB}/photutils/psf/flags.pyo
 ${PYSITELIB}/photutils/psf/functional_models.py
 ${PYSITELIB}/photutils/psf/functional_models.pyc
 ${PYSITELIB}/photutils/psf/functional_models.pyo
@@ -359,6 +366,9 @@ ${PYSITELIB}/photutils/psf/groupers.pyo
 ${PYSITELIB}/photutils/psf/image_models.py
 ${PYSITELIB}/photutils/psf/image_models.pyc
 ${PYSITELIB}/photutils/psf/image_models.pyo
+${PYSITELIB}/photutils/psf/iterative.py
+${PYSITELIB}/photutils/psf/iterative.pyc
+${PYSITELIB}/photutils/psf/iterative.pyo
 ${PYSITELIB}/photutils/psf/matching/__init__.py
 ${PYSITELIB}/photutils/psf/matching/__init__.pyc
 ${PYSITELIB}/photutils/psf/matching/__init__.pyo
@@ -404,12 +414,18 @@ ${PYSITELIB}/photutils/psf/tests/data/ni
 ${PYSITELIB}/photutils/psf/tests/data/nircam_nrca1_f200w_fovp101_samp4_npsf4_mock.fits
 ${PYSITELIB}/photutils/psf/tests/data/nircam_nrca5_f444w_fovp101_samp4_npsf4_mock.fits
 ${PYSITELIB}/photutils/psf/tests/data/nircam_nrcb4_f150w_fovp101_samp4_npsf1_mock.fits
+${PYSITELIB}/photutils/psf/tests/test_components.py
+${PYSITELIB}/photutils/psf/tests/test_components.pyc
+${PYSITELIB}/photutils/psf/tests/test_components.pyo
 ${PYSITELIB}/photutils/psf/tests/test_epsf.py
 ${PYSITELIB}/photutils/psf/tests/test_epsf.pyc
 ${PYSITELIB}/photutils/psf/tests/test_epsf.pyo
 ${PYSITELIB}/photutils/psf/tests/test_epsf_stars.py
 ${PYSITELIB}/photutils/psf/tests/test_epsf_stars.pyc
 ${PYSITELIB}/photutils/psf/tests/test_epsf_stars.pyo
+${PYSITELIB}/photutils/psf/tests/test_flags.py
+${PYSITELIB}/photutils/psf/tests/test_flags.pyc
+${PYSITELIB}/photutils/psf/tests/test_flags.pyo
 ${PYSITELIB}/photutils/psf/tests/test_functional_models.py
 ${PYSITELIB}/photutils/psf/tests/test_functional_models.pyc
 ${PYSITELIB}/photutils/psf/tests/test_functional_models.pyo
@@ -422,6 +438,9 @@ ${PYSITELIB}/photutils/psf/tests/test_gr
 ${PYSITELIB}/photutils/psf/tests/test_image_models.py
 ${PYSITELIB}/photutils/psf/tests/test_image_models.pyc
 ${PYSITELIB}/photutils/psf/tests/test_image_models.pyo
+${PYSITELIB}/photutils/psf/tests/test_iterative.py
+${PYSITELIB}/photutils/psf/tests/test_iterative.pyc
+${PYSITELIB}/photutils/psf/tests/test_iterative.pyo
 ${PYSITELIB}/photutils/psf/tests/test_model_helpers.py
 ${PYSITELIB}/photutils/psf/tests/test_model_helpers.pyc
 ${PYSITELIB}/photutils/psf/tests/test_model_helpers.pyo
@@ -554,6 +573,9 @@ ${PYSITELIB}/photutils/utils/tests/test_
 ${PYSITELIB}/photutils/utils/tests/test_convolution.py
 ${PYSITELIB}/photutils/utils/tests/test_convolution.pyc
 ${PYSITELIB}/photutils/utils/tests/test_convolution.pyo
+${PYSITELIB}/photutils/utils/tests/test_coords.py
+${PYSITELIB}/photutils/utils/tests/test_coords.pyc
+${PYSITELIB}/photutils/utils/tests/test_coords.pyo
 ${PYSITELIB}/photutils/utils/tests/test_cutouts.py
 ${PYSITELIB}/photutils/utils/tests/test_cutouts.pyc
 ${PYSITELIB}/photutils/utils/tests/test_cutouts.pyo
@@ -581,6 +603,9 @@ ${PYSITELIB}/photutils/utils/tests/test_
 ${PYSITELIB}/photutils/utils/tests/test_quantity_helpers.py
 ${PYSITELIB}/photutils/utils/tests/test_quantity_helpers.pyc
 ${PYSITELIB}/photutils/utils/tests/test_quantity_helpers.pyo
+${PYSITELIB}/photutils/utils/tests/test_repr.py
+${PYSITELIB}/photutils/utils/tests/test_repr.pyc
+${PYSITELIB}/photutils/utils/tests/test_repr.pyo
 ${PYSITELIB}/photutils/utils/tests/test_round.py
 ${PYSITELIB}/photutils/utils/tests/test_round.pyc
 ${PYSITELIB}/photutils/utils/tests/test_round.pyo

Index: pkgsrc/math/py-photutils/distinfo
diff -u pkgsrc/math/py-photutils/distinfo:1.4 pkgsrc/math/py-photutils/distinfo:1.5
--- pkgsrc/math/py-photutils/distinfo:1.4       Wed Apr 16 11:19:25 2025
+++ pkgsrc/math/py-photutils/distinfo   Thu Nov 13 12:28:35 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2025/04/16 11:19:25 adam Exp $
+$NetBSD: distinfo,v 1.5 2025/11/13 12:28:35 adam Exp $
 
-BLAKE2s (photutils-2.2.0.tar.gz) = 86bb1733d30381266e2815539a5930edbb5ca3b829a8657d64809802f3c25448
-SHA512 (photutils-2.2.0.tar.gz) = 46a3424710986aec8ec633bc123c875bbbf3eb8b3044da0a379b17ee2253234df3824cf22aef7ec7055d70210a0031f873986eb0f9d8e3de47dbb7fd3ad63657
-Size (photutils-2.2.0.tar.gz) = 716289 bytes
+BLAKE2s (photutils-2.3.0.tar.gz) = 8d85119b9bbd31a46aeb89c7b4342f066811caae97a18fd2d9ee5ccd4f0e5693
+SHA512 (photutils-2.3.0.tar.gz) = 52a052aea4443e1f6e025acacdbee464516fc5ddceb5cb856440719d104e6115b42ae8fd37ff0c158d0c6b9b76f40913ca7520b75fc4a9621c920b4423edf80d
+Size (photutils-2.3.0.tar.gz) = 762758 bytes



Home | Main Index | Thread Index | Old Index