The conform.py has a bug, which will impact behavior whenever the parameter f_low is not zero. Fortunately, zero is the default for f_low. Fixing this would allow sophisticated usage and development.
The issue is that src_min is initially set to the global minimum. However, f_low is subsequently updated to the lower output threshold. The problem is that final computation of the output high threshold (src_max) assumes the value of src_min is still the global minimum:
Description
The conform.py has a bug, which will impact behavior whenever the parameter f_low is not zero. Fortunately, zero is the default for f_low. Fixing this would allow sophisticated usage and development.
The issue is that src_min is initially set to the global minimum. However, f_low is subsequently updated to the lower output threshold. The problem is that final computation of the output high threshold (src_max) assumes the value of src_min is still the global minimum:
An easy fix would be to explicitly create and refer to a global_min variable that is independent from the output minimum: