Skip to content

Commit

Permalink
add the original redrock redshift as a default output column
Browse files Browse the repository at this point in the history
  • Loading branch information
moustakas committed Sep 22, 2023
1 parent 3d03837 commit de31eae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py/desispec/validredshifts.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def actually_validate(cat, fiberstatus_cut=True, ignore_emline=False):
cat['QSO_MASKBITS'][cat['IS_QSO_MGII']] += 2**2
cat['QSO_MASKBITS'][cat['IS_QSO_QN']] += 2**3
cat['QSO_MASKBITS'][cat['IS_QSO_QN_NEW_RR']] += 2**4
cat['Z_RR'] = cat['Z']
cat['Z'][cat['IS_QSO_QN_NEW_RR']] = cat['Z_NEW'][cat['IS_QSO_QN_NEW_RR']].copy()
cat['ZERR'][cat['IS_QSO_QN_NEW_RR']] = cat['ZERR_NEW'][cat['IS_QSO_QN_NEW_RR']].copy()
# Correct bump at z~3.7
Expand Down

0 comments on commit de31eae

Please sign in to comment.