Repository navigation
Conversation
Detect sources with the scarlet lite starlet transform as a compensated filter, on single-band Exposures or MultibandExposures, as a drop-in replacement for SourceDetectionTask that needs no background subtraction. The detection intermediate products (peaks, candidates, positions) are returned as astropy tables. Generated with AI Co-Authored-By: SLAC AI
Starlets are a compensated filter with no response to smooth flux, so the coefficient footprints of an extended source stop well inside it. Footprints now come from a chi^2 coadd of the PSF-correlated bands, with the starlet peaks inserted into whichever footprint contains them, and peakValue read off the image the footprint came from. That leaves an image in counts to re-estimate a background from, so the background handling of the base task is used rather than suppressed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Feed the excludeMaskPlanes mask to the starlet peak finder so that detections ringing around saturated stars are dropped in the bands that flag them, while clean bands still detect the source. The image is still zeroed at those pixels to keep the transform finite; badPixelDilation sets how far the suppression reaches. Also default thresholdType to pixel_stdev. The median stdev underestimates the noise on images with a long tail, where a plain stdev threshold yields more false detections than real ones. Generated with AI Co-Authored-By: SLAC AI
scarlet_lite's detect_peaks now takes a PSF FWHM per band, derives the minimum separation from the narrowest one, and returns the pairs and components tables that describe how positions were grouped. The tables are joined across polarities like the others, and every table carries the detection settings in its meta. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.