GPUPhot: Kernel-Based Algorithms for Point-Source Detection and Photometry with a Spatially Variable PSF
summary
The gist
Modern imaging surveys generate data at rates that exceed the throughput of photometry pipelines built on iterative, per-source fitting, a construct that does not map onto parallel hardware.
In short
GPUPhot is a new method for finding and measuring stars in astronomical images using a Graphics Processing Unit (GPU). It reformulates all detection steps as convolutions or element-wise map operations, allowing it to handle complex, spatially varying Point Spread Functions (PSFs) efficiently. This framework achieves high accuracy in position and brightness even in noisy fields with strong background variations.
Key concepts
- GPU-Native Framework
- This approach redesigns the entire image processing pipeline so that every step—from noise reduction to detection—is performed using standard GPU operations like convolutions or element-wise calculations on full maps. This bypasses traditional, iterative fitting methods that don't map well to parallel hardware, allowing for extremely fast processing of large datasets.
- Spatially Varying PSF Modeling
- The paper models how the star's blur changes across the image using principal-component eigenmodes. By decomposing this variation into a small set of fixed templates and position-dependent coefficients, the system can exactly represent complex PSFs while keeping the core maximum-likelihood detection foundation intact.
- Matched Filter Detection
- Source detection uses a generalized matched filter that is built from the empirical PSF model. This filter is evaluated as a sum of genuine convolutions multiplied by precomputed maps, enabling it to efficiently find local peaks in significance maps even when the PSF changes across the field.
- Adaptive Aperture Photometry
- Instead of using a fixed measurement area, this method uses an adaptive aperture scheme. The optimal aperture radius for each source is calculated dynamically based on maximizing the signal-to-noise ratio, ensuring accurate flux measurement regardless of local background gradients or PSF variations.
Terminology used across episodes
This episode discusses
- GPUPhot: Kernel-Based Algorithms for Point-Source Detection and Photometry with a Spatially Variable PSF · Paper Radio
- The 2.5-meter Wide Field Survey Telescope Real-time Data Processing Pipeline I: From raw data to alert distribution
- The Pan-STARRS1 Surveys
- Principal Component Analysis of PSF Variation in Weak Lensing Surveys
- ATLAS-TEIDE: The next generations of ATLAS units for the Teide Observatory
The paper
GPUPhot: Kernel-Based Algorithms for Point-Source Detection and Photometry with a Spatially Variable PSF · Read on arXiv
Miguel R. Alarcon, Samuel Lemes-Perera, Miquel Serra-Ricart, Javier Licandro
Light Bridges · Instituto de Astrofísia de Canarias Instituto de Astrofísia de Canarias Departamento de Astrofísia Universidad de La Laguna Departamento de IngenierƑa InformƓtica y de Sistemas Universidad de La Laguna
Modern imaging surveys generate data at rates that exceed the throughput of photometry pipelines built on iterative, per-source fitting, a construct that does not map onto parallel hardware. We present a set of algorithms for point-source detection and photometry reformulated so that the entire reduction runs natively on a Graphics Processing Unit (GPU), implemented in GPUPhot. Their design rests on a single principle: every stage is cast as a convolution with a fixed kernel or an element-wise operation on full-frame maps. The algorithms are designed to operate on wide-field images with a spatially variable Point Spread Function (PSF), where the field-dependent PSF is described through a small set of fixed, flux-conserving principal-component eigenmodes with position-dependent coefficients, so that the spatially varying matched filter decomposes exactly into a few genuine convolutions while retaining its maximum-likelihood foundation. We show that, even in fields with strong background gradients and markedly inhomogeneous PSFs, the framework achieves sub-pixel astrometric accuracy and few-millimagnitude photometric precision for bright sources. The pipeline is already in production at the telescopes of the Teide Observatory, where it has processed 3.7 million images since 2023, amounting to 1.2 PB of data, at effective end-to-end rates below 15 s per 150-Mpx image, from ingestion of the raw frame to a source catalog with astrometric and photometric solutions. Because the same primitives underlie every stage, the individual algorithms are self-contained and applicable well beyond photometry. They form the basis of a complete, openly developed software package, released publicly with this paper.
Transcript
Introduction to the show: ident: Astrophysics. The day in astrophysics: observations, models and what the data forces.
Vera: We're looking at the paper: "GPUPhot: Kernel-Based Algorithms for Point-Source Detection and Photometry with a Spatially Variable PSF".
Jocelyn: Here's the gist of the paper. Modern imaging surveys generate data at rates that exceed the throughput of photometry pipelines built on iterative, per-source fitting, a construct that does not map onto parallel hardware.
Vera: The paper presents GPUPhot, a set of algorithms for point-source detection and photometry reformulated to run natively on a Graphics Processing Unit (GPU) by casting every stage as a convolution with a fixed kernel or an element-wise operation on full-frame maps.
Jocelyn: This GPU-native framework is designed to handle wide-field images with a spatially variable Point Spread Function (PSF), which is described through principal-component eigenmodes, allowing the matched filter to decompose exactly into genuine convolutions while retaining its maximum-likelihood foundation.
Vera: The authors demonstrate that this framework achieves sub-pixel astrometric accuracy and fewmillimagnitude photometric precision even in fields with strong background gradients and markedly inhomogeneous PSFs.
Title and authors: Vera: They start with defect correction and background estimation before moving on to isolated-star selection, PSF modeling, matched-filter detection, and finally aperture photometry.
Jocelyn: Before we get to the detection part, they detail how they handle cosmic ray mitigation using a two stage filter involving a discrete Laplace operator convolution followed by an iterative Fast Fourier Transform interpolation scheme.
Subrahmanyan: That’s interesting because they make sure that an isolated cosmic ray may interpolate to the background level, whereas the surrounding light of a star may keep its reconstructed core above the threshold.
Vera: And for random telegraph noise, they use a median filter to create a smooth reference image and then use local statistical analysis on the residual map to flag outliers.
Jocelyn: That helps suppress erroneous detections of structured image features, like the wings of bright point sources or steep background gradients.
Subrahmanyan: Then they deal with background subtraction by combining tile based percentile statistics with FFT based convolution to produce a smooth, locally representative background map.
Vera: The goal there seems to be removing that large scale gradient across the field while still preserving those compact point sources for detection.
Jocelyn: So once we have the map cleaned up, how do they model that spatially varying PSF? That seems like the core challenge mentioned in their title.
The paper's summary: Vera: To model the spatially varying PSF, they construct an empirical model in three steps. First, they detect isolated stars using a fixed Gaussian kernel approximation.
Jocelyn: Then they build a position independent reference PSF P0, and finally characterize the spatial deviations from that reference using principal component analysis.
Subrahmanyan: They use this principal component analysis to find a small set of fixed templates, or eigenmodes, which capture the bulk of the star to star PSF variation.
Vera: These eigenmodes are then projected onto and interpolated into continuous spatial coefficient maps across the focal plane using FFT based interpolation.
Jocelyn: That’s how they build that continuous map that describes how the PSF changes depending on where you are in the image.
Subrahmanyan: The spatially varying PSF is then modeled as a sum of fixed templates with position dependent amplitudes, P of x; mu equals P0 of x plus sigma K k from one to K c k mu ek(x).
Vera: Those scalar coefficients, c k mu, encode all that spatial variation.
Jocelyn: So the core idea is they can describe the PSF as a sum of fixed templates where the amplitudes change based on position in a way that’s captured by these eigenmodes.
Subrahmanyan: This is much more flexible than just using one single, fixed PSF for the whole image.
The paper's improvements: Vera: The detection part uses a generalized matched filter of Equation twelve, which generalizes the fixed Gaussian kernel detection to the empirical PSF.
Jocelyn: This filter identifies local maxima of the resulting significance map, and that statistic is defined as nu mu equals M con P bar mu over sigma mu p A mu.
Subrahmanyan: And A mu is a position dependent effective kernel area derived from those coefficient maps, which shows how the detection area changes across the image.
Vera: They then filter these initial candidates by isolation criteria, a stricter significance threshold, and a saturation criterion to reject non linear response.
Jocelyn: The integer pixel peak positions are refined to subpixel accuracy using the first moment centroid of nu within a square window around each maximum.
Subrahmanyan: For photometry, they use optimized circular aperture photometry that decomposes the process into flux measurement, aperture correction, noise modeling, and brightness dependent rule selection.
Vera: The crucial part is the aperture correction C of r; mu which they estimate empirically from growth curves of isolated stars grouped into spatial clusters to capture smooth spatial PSF variation across the focal plane.
Jocelyn: They also calibrate the optimal aperture radius ropt as a function of the convolutional detection significance nu through an empirical power law fit, so it’s adaptive.
Conclusion: Vera: So, looking at these results, we see subpixel astrometric residuals of zero point eleven to zero point thirty-eight arcseconds and a constant photometric offset of about zero point zero five magnitude.
Jocelyn: That offset is fully absorbed into the photometric zero point, which reaches a few millimagnitude floor for bright sources.
Subrahmanyan: This means that even in those tricky fields with strong background gradients, the precision holds up at a few millimagnitude level.
Vera: Overall, GPUPhot achieves high throughput at a low computational cost; reductions take under seven seconds for a two thousand times two thousand CCD frame on a consumer grade GPU.
Jocelyn: It’s already in routine operation at the Teide Observatory processing over one point two petabytes of data since twenty twenty three.
Subrahmanyan: The whole point of GPUPhot is showing that you can get high precision with complex spatial variation by moving the heavy lifting onto parallel hardware using these kernel based algorithms.
Vera: So, this paper on GPUPhot shows how to make photometric pipelines fast and accurate without sacrificing detail, even when the sky itself is messy.
More episodes
- 2607.17929-gevolution 2.0: GPU-accelerated relativistic N-body simulations for cosmology
- The day in conversation for 2026-11-19
- Daily Summary for 2026-11-19
- 2509.02657-On the synergetic use of Ariel and JWST for exoplanet atmospheric science
- 2609.10042-Modelling Fourier filtering wavefront sensors for PSD-based methods: the AOPERA tool
- 2511.05639-Performance of the AstroPix Prototype Module for the Barrel Imaging Calorimeter at the ePIC Detector and in Space-Based Payloads
- 2610.19909-RPCA: a Resolved PSF reconstruction method for undersampled images
- 2512.03440-An Analysis of LIGO Glitches Using t-SNE During the First Part of the Fourth LIGO-Virgo-KAGRA Observing Run
- 2608.10284-Lunar Reflective Interferometry
- 2610.16633-Institutional broadening of the Japanese astronomy and astrophysics research community during 1996-2025