pynbody.plot.stars.oneschmidtlawpoint

pynbody.plot.stars.oneschmidtlawpoint#

pynbody.plot.stars.oneschmidtlawpoint(sim, center=True, pretime='50 Myr', diskheight='3 kpc', rmax='20 kpc', **kwargs)[source]#

One Schmidt Law Point

Determines values for star formation surface density and gas surface density for the entire galaxy based on the half mass cold gas radius.

Usage: import pynbody.plot as pp pp.oneschmidtlawpoint(h[1])

pretime (default=’50 Myr’): age of stars to consider for SFR

diskheight (default=’3 kpc’): height of gas and stars above

and below disk considered for SF and gas densities.

rmax (default=’20 kpc’): radius of disk considered