Here are two gas density maps of a galaxy drawn from the same snapshot but in different width & height.
My simulation was run by ChaNGa with the SF, SN feedback, and grackle cooling.
I simply did followings
import pynbody
import matplotlib.pyplot as plt
import pynbody.plot.sph as sph
f = pynbody.load(filename)
f.physical_units()
pynbody.analysis.angmom.faceon(f.s)
barmax = 0.5*(10**9)
barmin = (10**3)
sph.image(f.g, width=width_in,vmax=barmax,vmin=barmin,units='Msol kpc^-2',cmap='gist_heat')
plt.show()
Not all snapshots give such broken pixels but I have seen these occasionally.
Has anyone experienced the same and figured out how to avoid them?
Thank you,
SungWon