Skip to content

Commit c01ceee

Browse files
committed
Added a keyword for the inverse of R(V)
1 parent 393405f commit c01ceee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

measure_extinction/extdata.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,10 +763,11 @@ def save(
763763
else:
764764
print(ckey + " not supported for saving extcurves")
765765
else: # save the column info if available in the extdata object
766-
colkeys = ["AV", "RV", "EBV", "LOGHI"]
766+
colkeys = ["AV", "RV", "IRV", "EBV", "LOGHI"]
767767
colinfo = [
768768
"V-band extinction A(V)",
769769
"total-to-selective extintion R(V)",
770+
"selective-to-total 1/R(V)",
770771
"color excess E(B-V)",
771772
"log10 of the HI column density N(HI)",
772773
]
@@ -970,7 +971,7 @@ def read(self, ext_filename):
970971
self.red_file = pheader.get("R_FILE")
971972
self.comp_file = pheader.get("C_FILE")
972973

973-
column_keys = ["AV", "EBV", "RV", "LOGHI", "LOGHIMW", "NHIAV"]
974+
column_keys = ["AV", "EBV", "RV", "IRV", "LOGHI", "LOGHIMW", "NHIAV"]
974975
for curkey in column_keys:
975976
if pheader.get(curkey):
976977
if pheader.get("%s_UNC" % curkey):

0 commit comments

Comments
 (0)