Skip to content

Commit

Permalink
simplified the no CMB case
Browse files Browse the repository at this point in the history
  • Loading branch information
samueldmcdermott committed Jul 30, 2024
1 parent 22971a4 commit 9b6da2c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deepszsim/simclusters.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,7 @@ def get_T_maps(self, add_CMB = True, returnval = False):
self.pixel_size_arcmin,
self.beam_size_arcmin)
else:
conv_map = simtools.convolve_map_with_gaussian_beam(
self.pixel_size_arcmin, self.beam_size_arcmin, dT_map)
cmb_map = np.zeros_like(conv_map)
conv_map, cmb_map = beamsig_map, np.zeros_like(beamsig_map)
if not self.vars['noise_level'] == 0:
noise_map = noise.generate_noise_map(self.image_size_pixels, self.vars['noise_level'],
self.pixel_size_arcmin)
Expand Down

0 comments on commit 9b6da2c

Please sign in to comment.