Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Util.applyBoxcar #101

Open
mzieg opened this issue Dec 1, 2022 · 1 comment
Open

Update Util.applyBoxcar #101

mzieg opened this issue Dec 1, 2022 · 1 comment
Assignees

Comments

@mzieg
Copy link
Member

mzieg commented Dec 1, 2022

Currently, a boxcar with a half-width of 5 doesn't change the first or last 5 pixels at all, because there isn't "enough room" to generate a full 11-pixel moving average. We'd like to change our boxcar implementation for the "wings" of the spectrum such that we boxcar as many pixels as possible, using the largest-possible symmetric window. In this case, the first and last [0 and -1] pixels would still be unmodified, but [1] and [-2] would each get a "boxcar 1", [2] and [-3] would get "boxcar 2", etc.

@mzieg
Copy link
Member Author

mzieg commented Sep 23, 2023

Similar to WasatchPhotonics/Wasatch.PY#61

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

No branches or pull requests

2 participants