Skip to content

Commit

Permalink
Fix for curvedsky -> sharp
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyowl committed Jul 18, 2023
1 parent 2f0417f commit ecc2adc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nemo/maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import yaml
import pickle
from pixell import enmap, curvedsky, utils, powspec
import sharp
import nemo
try:
import reproject
Expand Down Expand Up @@ -1323,7 +1322,7 @@ def simNoiseMap(shape, noiseLevel, wcs = None, lKnee = None, alpha = -3, noiseMo
def _mod_noise_map(ivar, Nl):
map1 = enmap.rand_gauss(ivar.shape, ivar.wcs)
lmax = len(Nl)-1
ainfo = sharp.alm_info(lmax)
ainfo = curvedsky.alm_info(lmax)
alm = curvedsky.map2alm(map1, ainfo=ainfo)
map2 = curvedsky.alm2map(alm, np.zeros_like(map1))
map1 -= map2
Expand Down

0 comments on commit ecc2adc

Please sign in to comment.