In [2]:
%matplotlib inline
import healpy as hp
import numpy as np
In [ ]:
# Import data from FITS file
irc9 = hp.read_map('/work1/users/aaronb/Databrary/HEALPix/AKARI_HEALPix_orig/4096_nside/akari_9_4096_unseen.fits',
nest=False)
# Replace UNSEEN with NaNs:
irc9[irc9==hp.UNSEEN] = np.nan
# Do the smoothing
irc9_smooth = hp.sphtfunc.smoothing(irc9,
fwhm = 0.00285,
iter=1)
hp.mollview(irc9_smooth,
norm='hist',
nest=False)
In [1]:
# Import data from FITS file
irc9 = hp.read_map('/work1/users/aaronb/Databrary/HEALPix/AKARI_HEALPix_orig/4096_nside/akari_9_4096_unseen.fits',
nest=False)
# Replace UNSEEN with NaNs:
irc9[irc9==hp.UNSEEN] = np.nan
# Do the smoothing
irc9_smooth = hp.sphtfunc.smoothing(irc9,
fwhm = 0.00285,
iter=1)
hp.mollview(irc9_smooth,
norm='hist',
nest=False)