Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LANL1D model addition #379

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Update model_parameters.py
updating log10_mej_dyn
mreuter01 authored Aug 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit a00353d775b9354f78e4b81613c521cdac6dad91
6 changes: 3 additions & 3 deletions nmma/em/model_parameters.py
Original file line number Diff line number Diff line change
@@ -401,7 +401,7 @@ def LANL1D(data):

parameters = [
"Ye_wind",
"mej_dyn",
"log10_mej_dyn",
"vej_dyn",
#"log10_mej_wind",
#"vej_wind",
@@ -415,9 +415,9 @@ def LANL1D(data):
knprops = get_knprops_from_LANLfilename(key)

# best to interpolate masses in log10
#knprops["log10_mej_dyn"] = np.log10(knprops["mej_dyn"])
knprops["log10_mej_dyn"] = np.log10(knprops["mej_dyn"])
#knprops["log10_mej_wind"] = np.log10(knprops["mej_wind"])
#del knprops["mej_dyn"]
del knprops["mej_dyn"]
#del knprops["mej_wind"]
# del knprops["morphology"]