pynbody.analysis.morphology

pynbody.analysis.morphology#

Calculations relevant to galactic morphology

Added in version 2.0: This module was added in version 2.0.

Previously, only the decomp() function was available, in its own module within pynbody.analysis.

Functions

decomp(h[, aligned, j_disk_min, j_disk_max, ...])

Creates an array 'decomp' for star particles in the simulation, with an integer specifying components.

estimate_jcirc_from_energy(h[, ...])

Estimate the circular angular momentum as a function of energy.

estimate_jcirc_from_rotation_curve(h[, ...])

Estimate the circular angular momentum as a function of radius in the disk (x-y) plane.