Skip to content

Commit

Permalink
finer control of tlusty mocking
Browse files Browse the repository at this point in the history
  • Loading branch information
karllark committed Dec 4, 2024
1 parent 62fbaff commit c62e100
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion measure_extinction/utils/make_all_tlusty_obsdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,21 @@ def decode_params_wd(filename):
default="tlusty",
help="Grid to use",
)
parser.add_argument(
"--vturb",
choices=["v2", "v5", "v10"],
default="v2",
help="Microturbulent velocity (only applies to tlusty grid)",
)

args = parser.parse_args()

if args.grid == "wd_hubeny":
mfilestr = "/home/kgordon/Python/extstar_data/Models/WD_Hubeny/*.spec"
decodefunc = decode_params_wd
outbase = "wd_hubeny"
else:
mfilestr = "/home/kgordon/Python/extstar_data/Models/Tlusty_2023/*v10.spec.gz"
mfilestr = f"/home/kgordon/Python/extstar_data/Models/Tlusty_2023/*{args.vturb}.spec.gz"
decodefunc = decode_params
outbase = "tlusty"

Expand Down

0 comments on commit c62e100

Please sign in to comment.