pynbody.plot.sph.faceon_image#
- pynbody.plot.sph.faceon_image(sim, *args, **kwargs)[source]#
Create an image of the given simulation, face-on to the disc of the passed halo.
This routine is a small wrapper around
image()that rotates the simulation so that the disc of the passed halo is face-on, makes the SPH image, then rotates the simulation back to its original orientation.More flexible control over the orientation of the simulation can be achieved by using
faceon()in combination withimage().