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

Pixel Swapper Function #103

Open
robelgeda opened this issue Mar 23, 2022 · 0 comments
Open

Pixel Swapper Function #103

robelgeda opened this issue Mar 23, 2022 · 0 comments
Labels
Enhancement New feature or request

Comments

@robelgeda
Copy link
Contributor

robelgeda commented Mar 23, 2022

When an intensity model is shifted by a small amount, the center of the model is not sampled onto a grid. Even using scipy quad integration, the pixel value would miss the center for high index profiles. Thus there should be an option to swap the nearest pixel (especially in oversampling mode) with the value of the center of the model. Most models have a x_0 or x_mean attribute that we could use to swap pixels (this would be "smart swapping" or "auto" mode). We can also allow the user to provide a list of parameter name tuples that represent the (x, y) coordinates.

@robelgeda robelgeda added the Enhancement New feature or request label Mar 23, 2022
@robelgeda robelgeda modified the milestones: v0.5.0, v0.4.1 Mar 28, 2022
@robelgeda robelgeda modified the milestones: v0.4.1, v0.5.0 Aug 20, 2022
@robelgeda robelgeda removed this from the v0.5.0 milestone Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant