From 18e742742e07454eae80dbccd955315ac19efa78 Mon Sep 17 00:00:00 2001 From: Pierre-Francois Leget Date: Tue, 16 Sep 2025 11:55:25 -0700 Subject: [PATCH] Compute TEX metric. --- python/lsst/drp/tasks/update_visit_summary.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python/lsst/drp/tasks/update_visit_summary.py b/python/lsst/drp/tasks/update_visit_summary.py index 2415100d..f7366b4b 100644 --- a/python/lsst/drp/tasks/update_visit_summary.py +++ b/python/lsst/drp/tasks/update_visit_summary.py @@ -864,7 +864,14 @@ def run( image_ap_corr_map=ap_corr, sources_is_astropy=True, ) - + # It will do the computation just once across the FoV + # at the first pass and then it will populate the other + # detectors with the first pass value. + self.compute_summary_stats.comp_psf_TEX_visit_level( + summary_stats, + psf_star_catalog, + sources_is_astropy=True, + ) if photo_calib_overrides: center = compute_center_for_detector_record(output_record, bbox, wcs) (