Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix center detection crash on special signals (fix #615)
If a signal has segments with zero variance i.e. constant lines, the center detection crashes because the histogram can not be created. This fix catches the ZeroDivision error and returns None in that case.
- Loading branch information