Skip to content

Symmetric option in trimOrPad #176

@eichstaedtPTB

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.

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