parity_threshold as a class members
parity_threshold could be defined as a class member, with a proper
setter checking its value between 0 and 1.
This would remove the need of
__call__() and allow a different threshold in
- Create branch
- Update tests
- Push & Merge