ratt-ru / QuartiCal

CubiCal, but with greater power.
MIT License
7 stars 4 forks source link

Selectively disable MAD flagging criteria #298

Closed JSKenyon closed 9 months ago

JSKenyon commented 9 months ago

This is a small change which makes setting threshold values in the mad_flags config to zero equivalent to disabling flagging on the associated statistic. This is useful early on in the self-cal process when we may still have substantial unmodelled flux i.e. flagging on the global/max_deviation values will flag real emission. Flagging on only the per-baseline MAD should to be less vulnerable to this problem. This also changes max_deviation to default to disabled. I have made this change to protect new users as it can result in very brutal flagging.