if input data have state = PPQQ or Coherence, then add pol[0] and pol[1]#5
if input data have state = PPQQ or Coherence, then add pol[0] and pol[1]#5straten wants to merge 1 commit into
Conversation
|
Hi Willem, As you already know, The application of the profile mask should be done across all pols, not just index 0; for the spike subtraction, well, we might have an actual problem here 😄 The values to subtract would be derived from PP + QQ, but then applied to PP and QQ separately, and I don't see how that would be correct. Maybe a good starting point would be to forbid spike subtraction outside of specific cases. If you have ideas, I'll take them. I'll have a think too. |
|
And clearly, there's an independent problem with the CI workflow too. |
|
The CI pipeline is fixed now, if you can rebase on |
To date, clfd has assumed that pol[0] is equal to the total intensity and searched for RFI only there.
This fix updates clfd to check for the polarization state of the input data and, if it is PPQQ or Coherence, then pol[0] and pol[1] are added together before searching for RFI in the result.