pynbody.snapshot.gadgethdf.p# pynbody.snapshot.gadgethdf.p(sim)[source]# Derived [GadgetHDFSnap, SubFindHDFSnap]: Calculate the pressure for gas particles, including polytropic equation of state gas