From c04cadc27722619d71b29d3a317d7c3664f260e4 Mon Sep 17 00:00:00 2001 From: Victor de Souza magalhaes Date: Fri, 8 Nov 2024 11:47:53 -0700 Subject: [PATCH] test on weights --- src/astrohack/core/extract_holog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/astrohack/core/extract_holog.py b/src/astrohack/core/extract_holog.py index eafb9179..eff1e77b 100644 --- a/src/astrohack/core/extract_holog.py +++ b/src/astrohack/core/extract_holog.py @@ -652,6 +652,8 @@ def _time_avg_pointing_jit(time_vis, pnt_time, dire, dir_cos, enc, pnt_off, tgt) avg_tgt[i_time] += tgt[i_row] avg_wgt[i_time] += 1 + print('weight for average:', avg_wgt) + exit() avg_dir /= avg_wgt avg_dir_cos /= avg_wgt avg_enc /= avg_wgt