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

Limit scanner position movement after optimization #141

Open
simonschmitt2 opened this issue Jul 2, 2024 · 1 comment
Open

Limit scanner position movement after optimization #141

simonschmitt2 opened this issue Jul 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@simonschmitt2
Copy link
Contributor

Feature Description

When performing optical optimization (confocal), it’s possible that the center of the fit lies outside the actual ‘optimization window,’ causing the scanner to jump a considerable distance. I’ve observed jumps exceeding three times the range of the optimization window, often due to noise. In most cases, this behavior is undesirable.

My suggestion is to prevent the scanner position from moving outside the optimization window. There are several ways to achieve this:

  • No Movement: If the fit center lies outside the window, the scanner should remain stationary.
    
  • Edge Limitation: Alternatively, limit the scanner movement to the edges of the optimization window.
    
  • Fit Parameter Constraints: Consider restricting the fit parameter ranges to ensure the center remains within the optimization window.
    

Related Problem

see above

Considered Alternatives

keep the existing behaviour

Additional Context

No response

Contact Details

No response

@simonschmitt2 simonschmitt2 added the enhancement New feature or request label Jul 2, 2024
@qku
Copy link
Contributor

qku commented Aug 19, 2024

I like this idea! We are encountering the same issue in our lab. I would be in favor of treating an optimized position outside the optimizer area as a failed fit, i.e. the first of your three suggestions. As a user, I would expect the optimization to happen within the specified area and not beyond.

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

2 participants