Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Symmetric option in trimOrPad #176

Open
eichstaedtPTB opened this issue Oct 18, 2020 · 0 comments
Open

Symmetric option in trimOrPad #176

eichstaedtPTB opened this issue Oct 18, 2020 · 0 comments

Comments

@eichstaedtPTB
Copy link
Collaborator

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant