Skip to content

Commit

Permalink
Update xlens module.
Browse files Browse the repository at this point in the history
  • Loading branch information
aferte committed Jan 8, 2024
1 parent d426b80 commit f6f61d0
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions modules_desy6/add_xlens_2pt.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ def execute(block, config):
xlens_val = block[x_section, 'xlens_all']


for i in range(1,6):
for j in range(1,4):
if j >= i:
ggl_bin_label = 'bin_'+str(i)+'_'+str(j)
ggl = block['galaxy_shear_xi',ggl_bin_label]
ggl_xlens = xlens_val*ggl
block['galaxy_shear_xi', ggl_bin_label] = ggl_xlens
for i in range(1,6+1):
for j in range(1,4+1):
ggl_bin_label = 'bin_'+str(i)+'_'+str(j)
ggl = block['galaxy_shear_xi',ggl_bin_label]
ggl_xlens = xlens_val*ggl
block['galaxy_shear_xi', ggl_bin_label] = ggl_xlens

return 0

0 comments on commit f6f61d0

Please sign in to comment.