File: potentials-test

package info (click to toggle)
galpy 1.6.0.post0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,224 kB
  • sloc: python: 27,709; ansic: 11,904; makefile: 4
file content (11 lines) | stat: -rwxr-xr-x 263 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/python3

from galpy.potential import (
    NFWPotential,
    HernquistPotential,
    MiyamotoNagaiPotential
)

mp= MiyamotoNagaiPotential(a=0.5,b=0.0375,normalize=.6)
np= NFWPotential(a=4.5,normalize=.35)
hp= HernquistPotential(a=0.6/8,normalize=0.05)