desi-bgs / bgs-cmxsv

BGS Commissioning and Survey Validation
MIT License
5 stars 2 forks source link

Define good redshift criteria check in independent script #7

Closed michaelJwilson closed 3 years ago

michaelJwilson commented 3 years ago

E.g.

badz = (deep['ZWARN'] > 0) | (deep['DELTACHI2'] < 40.) | (deep['SPECTYPE'] == 'STAR') badz = badz | (deep['Z'] < 0.0) | (deep['Z'] > 0.6) badz = badz | (deep['ZERR'] > (0.0005 * (1. + deep['Z'])))