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)

Rotate the simulation so that the disc of the passed halo is face-on, then make an SPH image by passing the parameters into the function image

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

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

image_radial_profile(im[, bins])

sideon_image(sim, *args, **kwargs)

Rotate the simulation so that the disc of the passed halo is side-on, then make an SPH image by passing the parameters into the function image

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.