Skip to content

Commit

Permalink
skip ci
Browse files Browse the repository at this point in the history
  • Loading branch information
landmanbester committed Dec 13, 2024
1 parent cb243aa commit 9236d13
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pfb/operators/gridder.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,6 @@ def image_data_products(dsl,
meani = np.mean(ressq[mask>0]/ovar)
stdi = np.std(ressq[mask>0]/ovar)
print(f"Band {bandid} before: mean = {meani:.3e}, std = {stdi:.3e}")
# wgt_relative_one = (l2_reweight_dof + 1)/(l2_reweight_dof + ressq/ovar)
# wgt *= wgt_relative_one
wgt *= (l2_reweight_dof + 1)/(l2_reweight_dof + ressq/ovar)
else:
wgt = None
Expand Down

0 comments on commit 9236d13

Please sign in to comment.