pynbody.plot.sph

pynbody.plot.sph#

Routines for plotting smoothed quantities

Functions

contour(sim, qty[, width, resolution, ...])

Create an image of the given quantity then turn it into contours.

faceon_image(sim, *args, **kwargs)

Create an image of the given simulation, face-on to the disc of the passed halo.

image(sim[, qty, width, resolution, units, ...])

Make an image of the given simulation, using SPH or denoised-SPH interpolation.

sideon_image(sim, *args, **kwargs)

Create an image of the given simulation, side-on to the disc of the passed halo.

spherical_image(sim[, qty, nside, kernel, ...])

Make an SPH image on the sky around the origin.

velocity_image(sim[, qty, vector_qty, ...])

Make an SPH image of the given simulation with velocity vectors overlaid on top.

volume(sim[, qty, width, resolution, color, ...])

Create a volume rendering of the given simulation using mayavi.