Skip to content

Commit

Permalink
Simplify surface-density of disk in McMillan17 DiskSCF representation
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Apr 10, 2020
1 parent 89b7a1b commit 27406e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions galpy/potential/McMillan17.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def bulge_dens(R,z):
#dicts used in DiskSCFPotential
sigmadict = [{'type':'exp','h':Rd_HI,'amp':Sigma0_HI, 'Rhole':Rm_HI},
{'type':'exp','h':Rd_H2,'amp':Sigma0_H2, 'Rhole':Rm_H2},
{'type':'exp','h':Rd_thin,'amp':Sigma0_thin, 'Rhole':0.},
{'type':'exp','h':Rd_thick,'amp':Sigma0_thick, 'Rhole':0.}]
{'type':'exp','h':Rd_thin,'amp':Sigma0_thin},
{'type':'exp','h':Rd_thick,'amp':Sigma0_thick}]

hzdict = [{'type':'sech2', 'h':zd_HI},
{'type':'sech2', 'h':zd_H2},
Expand Down

0 comments on commit 27406e8

Please sign in to comment.