def validate_output(err, count, snr, shr, rnd, crd):
    """
    Clean and validate output data
    - Remove measurements with unphysical values, such as negative countrate
    - Remove low information entries, such as magnitude errors >0.5 & SNR <1
    - Remove missing value indicators such as +/- 9.99
    """
    return (err < 0.5) & (count >= 0) & (snr >= 1) & (crd != 9.999) & \
           (shr != 9.999) & (shr != -9.999) & (rnd != 9.999) & (rnd != -9.999)