Skip to content

Find better name for create_fixed_length_windows #247

Open

Description

@gemeinl

create_fixed_length_windows is a bad name, since

  1. windows always have a fixed length no matter which windowing function is being used,
  2. it does not explain the difference to create_windows_from_events,
  3. it has a different name pattern than create_windows_from_events.

Activity

  1. added
    sprint
    basic
    on Jun 17, 2021
  2. changed the title [-]Find better name for `create_fixed_length_window`[/-] [+]Find better name for `create_fixed_length_windows`[/+] on Jun 17, 2021
  3. added this to the 0.7 milestone on Sep 23, 2022
  4. PierreGtch commented on Mar 10, 2025

    @PierreGtch
    Collaborator

    How about create_windows_with_fixed_stride ? This uses PyTorch terminology, and is closer to the pattern of create_windows_from_events

    Alternatively, we could do create_fixed_stride_windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    basicsprint

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions