0

Is there a way to change the color of masked value when masking a healpy mask? Is there a way to make the map more aesthetic? Right now it just drops grey pixels on the map where the values are masked.

The code I use is

masked_map = np.zeros(len(vr))
masked_map[(vr > 0)] = 1
influx = (0.3*rvir)**2*rho*vr

m = hp.ma(influx)
m.mask = masked_map

hp.mollview(hp.smoothing(m, sigma=0.1))
hp.graticule()

vr, rho are some quantities pixelized according to HEALpix rules. The result is enter image description here

Joshhh
  • 425
  • 1
  • 4
  • 18

0 Answers0