Allows ignore_bad_data=True flag to be used to ignore bad traces.
Why was it initiated? Any relevant Issues?
Currently if ignore_bad_data=True and traces less than 80% of the required length are found, data from these will be removed, however the stats for these traces remain. Due to some sloppy hard-coding, data are trimmed to the length of the zeroth trace, which might be length 0. This PR checks if there are 0-length traces and removes those.
PR Checklist
[x] develop base branch selected?
[x] This PR is not directly related to an existing issue (which has no PR yet).
[x] All tests still pass.
[x] Any new features or fixed regressions are be covered via new tests.
[x] Any new or changed features have are fully documented.
[x] Significant changes have been added to CHANGES.md.
- [ ] First time contributors have added your name to CONTRIBUTORS.md.
What does this PR do?
Allows
ignore_bad_data=True
flag to be used to ignore bad traces.Why was it initiated? Any relevant Issues?
Currently if
ignore_bad_data=True
and traces less than 80% of the required length are found, data from these will be removed, however the stats for these traces remain. Due to some sloppy hard-coding, data are trimmed to the length of the zeroth trace, which might be length 0. This PR checks if there are 0-length traces and removes those.PR Checklist
develop
base branch selected?CHANGES.md
.- [ ] First time contributors have added your name toCONTRIBUTORS.md
.