Skip to content

Symmetric option in trimOrPad #176

Description

@eichstaedtPTB

When using PyDynamic.misc.tools.trimOrPad to adjust a window to a given length, the center position of that window needs to be maintained.

An option like "type='symmetric'" in trimOrPad would result in padding to the left and right equally. In the same way, trimming may be carried out equally at both ends then.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions