Hi,
While selection_mode is set to all_waves, pyflex is not selecting the first window that Flexwin selects. You can see the outputs below.
I am using the default configuration for Flexwin. Reason for discrepancy turned out to be the rejection rules. Flexwin does not reject the windows that fall in the noise area. Yet, pyflex does.
I added a custom option to test this issue. With this option reject_on_selection_mode method does not do any rejection. Last plot shows the output that uses this option.
Rejecting the windows in the noise region seems like a sane default. Although, I think it can be helpful to give the user full control of the rejection mechanisms.
What do you think?
Flexwin:

Pyflex:

Pyflex with no rejection:
