Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
df48d4c
Add dedicated source deblending benchmarks
larrybradley Aug 31, 2026
3139f39
Vectorize the deblending marker-merge step
larrybradley Aug 31, 2026
1b6515a
Batch below-contrast marker removal during deblending
larrybradley Aug 31, 2026
44a4186
Remove per-call warnings suppression in _detect_sources
larrybradley Aug 31, 2026
74b225c
Add a dedicated detection function for deblending
larrybradley Aug 31, 2026
db73860
Clarify the deblend benchmark watershed-call counts as upper bounds
larrybradley Aug 31, 2026
9d379ac
Build deblending markers with a Cython component tree
larrybradley Aug 31, 2026
840508e
Add changelog entry for the deblending performance improvements
larrybradley Aug 31, 2026
e6fb1ae
Deprecate the deblending progress_bar and n_processes keywords
larrybradley Aug 31, 2026
352e0d4
Run the deblending marker kernel without the GIL
larrybradley Aug 31, 2026
2ce78b6
Batch the deblending marker phase over chunks of sources
larrybradley Aug 31, 2026
2b3570b
Add a compiled watershed kernel for deblending
larrybradley Aug 31, 2026
0eac766
Time the compiled watershed kernel in the deblend stage benchmark
larrybradley Aug 31, 2026
65ea382
Drop the deprecated SourceFinder keyword from the ImageDepth examples
larrybradley Aug 31, 2026
d114cb9
Run the watershed contrast loop in compiled code
larrybradley Aug 31, 2026
0e96f5e
Add What's New entries for the deblending performance improvements
larrybradley Aug 31, 2026
a632aa8
Drop the deprecated keywords and skimage guards from the benchmarks
larrybradley Sep 3, 2026
81babf2
Move the pure-Python deblending reference into its own module
larrybradley Sep 1, 2026
14e9daf
Document the compute_thresholds mode-fallback side effects
larrybradley Sep 1, 2026
a918578
Split make_markers into kernel and per-level methods
larrybradley Sep 1, 2026
6682a7d
Remove semicolons and prose colons from the segmentation package
larrybradley Sep 3, 2026
6c98c6c
Document the remaining reference-only entry points
larrybradley Sep 3, 2026
a6c028d
Misc improvements for the deblending kernels
larrybradley Sep 3, 2026
19aeb03
Deprecate the nproc keyword directly instead of renaming it
larrybradley Sep 3, 2026
e20818d
Update changelog and What's New entries
larrybradley Sep 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,13 @@ New Features
are divided into chunks that are processed concurrently, producing
results identical to the single-threaded computation. [#2407]

- Significantly improved the performance of source deblending in
``deblend_sources`` and ``SourceFinder``, producing identical results.
The multithreshold watershed markers are now built by compiled code.
Deblending is typically ~7-30 times faster, both for fields of many
small blended sources and for large segments with many markers.
[#2408]

- ``photutils.utils``

- Added a new ``DeblendWarning`` class, a subclass of astropy's
Expand Down Expand Up @@ -1019,6 +1026,15 @@ API Changes
are now computed for all sources at once in compiled code, so no
progress bar is displayed and the keyword has no effect. [#2406]

- The ``deblend_sources`` and ``SourceFinder`` ``progress_bar``
and ``n_processes`` keywords are now deprecated and will be removed
in version 4.0, and both keywords no longer have any effect.
Deblending is now dominated by compiled code, so no progress bar is
displayed, and the multiprocessing implementation has been removed
because its process startup and data-pickling overheads made it
slower than the serial implementation at any number of sources.
[#2408]

- ``photutils.utils``

- The ``ShepardIDWInterpolator`` ``ncoords`` attribute has been
Expand Down
Loading
Loading