Skip to content

Commit

Permalink
Merge pull request #99 from mdecleir/inverse_RV
Browse files Browse the repository at this point in the history
Added a keyword for the inverse of R(V)
  • Loading branch information
karllark authored Dec 22, 2021
2 parents 393405f + c01ceee commit d13198c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions measure_extinction/extdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,10 +763,11 @@ def save(
else:
print(ckey + " not supported for saving extcurves")
else: # save the column info if available in the extdata object
colkeys = ["AV", "RV", "EBV", "LOGHI"]
colkeys = ["AV", "RV", "IRV", "EBV", "LOGHI"]
colinfo = [
"V-band extinction A(V)",
"total-to-selective extintion R(V)",
"selective-to-total 1/R(V)",
"color excess E(B-V)",
"log10 of the HI column density N(HI)",
]
Expand Down Expand Up @@ -970,7 +971,7 @@ def read(self, ext_filename):
self.red_file = pheader.get("R_FILE")
self.comp_file = pheader.get("C_FILE")

column_keys = ["AV", "EBV", "RV", "LOGHI", "LOGHIMW", "NHIAV"]
column_keys = ["AV", "EBV", "RV", "IRV", "LOGHI", "LOGHIMW", "NHIAV"]
for curkey in column_keys:
if pheader.get(curkey):
if pheader.get("%s_UNC" % curkey):
Expand Down

0 comments on commit d13198c

Please sign in to comment.