Skip to content

stumpy.motifs question regarding "cutoff" and "max_distance" parameter? #547

@jmrichardson

Description

@jmrichardson

Hi, I was hoping someone could help me better understand the "cutoff" parameter in "stumpy.motifs". From docs:

    cutoff : float, default None
        The largest matrix profile value (distance) that a candidate motif is allowed
        to have. If `None`, this defaults to
        `np.nanmax([np.nanmean(P) - 2.0 * np.nanstd(P), np.nanmin(P)])`

I do understand that max_distance is the maximum distance that a motif can have to it's neighbor. But I don't understand how cutoff is used. Thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions