pynbody.analysis.morphology.estimate_jcirc_from_energy#
- pynbody.analysis.morphology.estimate_jcirc_from_energy(h, particles_per_bin=1000, quantile=0.99)[source]#
Estimate the circular angular momentum as a function of energy.
This routine calculates the circular angular momentum as a function of energy for the stars in the simulation, using a profile with a fixed number of particles per bin. It then estimates a circular angular momentum for each individual particle by interpolating the profile.
- Parameters:
h (SimSnap) – The simulation snapshot to analyze
quantile (float) – The circular angular momentum will be estimated as the specified quantile of the scalar angular momentum
particles_per_bin (int) – The approximate number of particles per bin in the profile. Default is 1000.