yt.raven.Callbacks.ParticleCallback.__init__

ParticleCallback.__init__(width, p_size=1.0, col='k', marker='o', stride=1.0, ptype=None, stars_only=False, dm_only=False, minimum_mass=None)

Adds particle positions, based on a thick slab along axis with a width along the line of sight. p_size controls the number of pixels per particle, and col governs the color. ptype will restrict plotted particles to only those that are of a given type. minimum_mass will require that the particles be of a given mass, calculated via ParticleMassMsun, to be plotted.

This Page