Human readable intro
(MM, A)limepy
(Multi-Mass, Anisotropic) Lowered Isothermal Model Explorer in Python
Parameters:
Examples:
Construct a Woolley model with W0 = 7 and print r_t/r_0 and r_v/r_h
>>> k = limepy(7, 0)
>>> print k.rt/k.r0, k.rv/k.rh
>>> 19.1293450185 1.17562140501
Construct a Michie-King model and print r_a/r_h
>>> a = limepy(7, 1, ra=2)
>>> print a.ra/a.rh
>>> 5.55543555675
Create a Wilson model with W_0 = 12 in Henon/N-body units: G = M = r_v = 1 and print the normalisation constant A of the DF and the value of the DF in the centre:
>>> w = limepy(12, 2, scale=True, GS=1, MS=1, RS=1, scale_radius='rv')
>>> print w.A, w.df(0,0)
>>> [ 0.00800902] [ 1303.40165523]
Multi-mass model in physical units with r_h = 1 pc and M = 10^5 M_sun and print central densities of each bin over the total central density
>>> m = limepy(7, 1, mj=[0.3,1,5], Mj=[9,3,1], scale=True, MS=1e5,RS=1)
>>> print m.alpha
>>> array([ 0.3072483 , 0.14100799, 0.55174371])