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

Set fast preview scan parameters for galvos in the system settings YAML #433

Open
raacampbell opened this issue Jul 22, 2022 · 0 comments
Open
Labels

Comments

@raacampbell
Copy link
Collaborator

raacampbell commented Jul 22, 2022

Currently we have in takeRapidPrview the following

% This is a nasty hack for ensuring fast scanning galvos proceeds at a reasonable frame rate
    if isa(obj.scanner, 'SIBT') && strcmp(obj.scanner.scannerType,'linear')
        obj.scanner.hC.hScan2D.pixelBinFactor=12;
        obj.scanner.hC.hScan2D.sampleRate=1.25E6;
    end

Those settings should be in the systems settings YAML so they can be changed by the superuser.

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

No branches or pull requests

1 participant