Previously, only vrad* columns and their errors (svrad*) were included in the weighted mean. This adds the activity indicators (d*v, fwhm) and their errors to the columns that are binned with a weighted mean.
Because for activity indicators the error is not just "s{colname}", I created a dictionary that maps values to errors. Then the dictionary is used to get the error column.
EDIT: I have not tested the changes. Let me know if I should create a unit test for this or if I should run it on test data.
Previously, only
vrad*
columns and their errors (svrad*
) were included in the weighted mean. This adds the activity indicators (d*v
,fwhm
) and their errors to the columns that are binned with a weighted mean.Because for activity indicators the error is not just
"s{colname}"
, I created a dictionary that maps values to errors. Then the dictionary is used to get the error column.EDIT: I have not tested the changes. Let me know if I should create a unit test for this or if I should run it on test data.