Skip to content

Commit

Permalink
test on weights
Browse files Browse the repository at this point in the history
  • Loading branch information
vsmagalhaes committed Nov 8, 2024
1 parent 495f7bd commit c04cadc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/astrohack/core/extract_holog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c04cadc

Please sign in to comment.