I have a full sky convergence map. I would like to cut from this map, smaller square patches in healpy.
I would like to know how is this possible.
if I read the map and plot it, this is how it looks :
map_kappa_lcdm = hp.read_map('lightcone.fits',nest=False);
import seaborn as sns
color_pal = sns.color_palette("colorblind", 6).as_hex()
fig, (ax1) = plt.subplots(figsize = (17,8),ncols=1)
################
fontsize = 16
plt.rcParams.update({'font.size':fontsize})
cax = hp.mollview(map_kappa_lcdm,title="convergence ($\kappa$) map, $\Lambda$CDM",xsize=4000,
min=-0.02, max=0.025,hold=True,norm="%hist", format="%.01g",cmap='RdBu',cbar=True,nlocs=4)
hp.graticule()
plt.rcParams.update({'font.size':fontsize})
Hereafter I have no idea how I can cut smaller square patches.
