File: potentials-test

package info (click to toggle)
galpy 1.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,336 kB
  • sloc: python: 117,850; ansic: 13,779; 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)