Skip to content

Commit

Permalink
Merge pull request #68 from simonsobs/dev
Browse files Browse the repository at this point in the history
Fix for sim CMB map
  • Loading branch information
mattyowl authored Dec 10, 2023
2 parents e6fe236 + 87a0fb2 commit f01b92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo/maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ def simCMBMap(shape, wcs, noiseLevel = None, beam = None, seed = None):
beam=signals.BeamProfile(beamFileName = beam)
assert(type(beam) == signals.BeamProfile)
lbeam=np.interp(lps, beam.ell, beam.Bell)
ps*=lbeam
ps*=np.power(lbeam, 2)

randMap=curvedsky.rand_map(shape, wcs.AWCS, ps = ps, spin = [0,2], seed = seed)

Expand Down

0 comments on commit f01b92e

Please sign in to comment.