Apply single IFO cut only when more than 2 IFOs are used by PyGRB #5016
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The current version of PyGRB requires the single IFO SNR to exceed a threshold (provided by the user) in at least 2 IFOs, whenever the analysis uses more than 1 IFO.
CohPTF used to apply the cut on the two most sensitive detectors when more than 2 IFOs were involved in the analysis.
This change restores the "more than 2 IFOs" requirement. It does not do anything about the "most sensitive" concept because:
This change affects: PyGRB.
This change is being open to discuss whether to bring the current code closer to the original approach. There is no systematic comparison before and after this change on N GRBs with 2 IFOs. I am also pretty sure that there was also nothing of this sort that motivated applying the cut whenever more than 1 IFO was available.