Skip to content

Commit

Permalink
fixing scipy import
Browse files Browse the repository at this point in the history
  • Loading branch information
jngaravitoc committed Apr 19, 2024
1 parent 626dbc2 commit b9922e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXPtools/basis_builder/makemodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def powerhalorolloff(r, rs=1., rc=0., alpha=1., beta=1.e-7):
dens = 1./(((ra+rc/rs)**alpha)*((1+ra)**beta))
rtrunc = 25*rs
wtrunc = rtrunc*0.2
rolloff = 0.5 - 0.5*special.erf((r-rtrunc)/wtrunc)
rolloff = 0.5 - 0.5*scipy.special.erf((r-rtrunc)/wtrunc)
return dens*rolloff


Expand Down

0 comments on commit b9922e9

Please sign in to comment.