Skip to content

Rejection based on selection mode causes a missing window with respect to Flexwin #2

@rdno

Description

@rdno

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:

Flexwin output

Pyflex:

Pyflex output

Pyflex with no rejection:

Pyflex with no rejection

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions