Pull request #1987: PIPE-3257 improve tsysflagcontamination design scope
Merge in PIPE/pipeline from PIPE-3257-improve-tsysflagcontamination-design-scope to main
* commit '87763361a92605510e47f245f21d83990a4239b2':
Corrected some indices that went above the edge of the spw. PIPE-3257: Clean up imports, staticmethod decorators, and dead code in Tsys contamination
recommendations on extern code by Rui
Correcting some bugs in both files of the extern code. PIPE-3257
Add context input to the functions that require it. Change long message to `Flagging not applied...`
Modifications of the three files associated with Tsys contamination. Description in PIPE-3257 and PIPEREQ-449
Andres Guzman <andres.guzman@Andress-MacBook-Pro.local>