pynbody.plot.profile

Contents

pynbody.plot.profile#

profile#

Functions

density_profile(sim[, linestyle, center, ...])

3d density profile

fourier_profile(sim[, center, disk_height, ...])

Centre on potential minimum, align so that the disk is in the x-y plane, then plot the amplitude of the 2nd fourier mode as a function of radius.

rotation_curve(sim[, center, r_units, ...])

Centre on potential minimum, align so that the disk is in the x-y plane, then use the potential in that plane to generate and plot a rotation curve.