nanograv / enterprise

ENTERPRISE (Enhanced Numerical Toolbox Enabling a Robust PulsaR Inference SuitE) is a pulsar timing analysis code, aimed at noise analysis, gravitational-wave searches, and timing model analysis.
https://enterprise.readthedocs.io
MIT License
67 stars 67 forks source link

Issue in enterprise/enterprise/signals/selections.py for CHIME-O-Grav #392

Open alyssacassity opened 3 months ago

alyssacassity commented 3 months ago

Issue for CHIME combination in enterprise/enterprise/signals/selections.py , starting line 118:

def nanograv_backends(backend_flags):
    """Selection function to split by NANOGRav backend flags only."""
    flagvals = np.unique(backend_flags)
    ngb = ["ASP", "GASP", "GUPPI", "PUPPI", "YUPPI"]
    flagvals = [val for val in flagvals if any([b in val for b in ngb])]
    return {val: backend_flags == val for val in flagvals}

Need to add in "CHIME" in line 121: ngb = ["ASP", "GASP", "GUPPI", "PUPPI", "YUPPI", "CHIME"]

alyssacassity commented 3 months ago

Cannot setup ECORR for CHIME without fix