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

Add operator to configure odor mixture #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bruno-f-cruz
Copy link
Member

This PR adds an operator that creates two messages to set the olfactometer to a specific odor mixture.
It does this by taking a concentration for each channel, a target odor flow, and a target total flow to automatically calculate the odor mixture necessary to keep a constant flow at the output side.

@bruno-f-cruz
Copy link
Member Author

@glopesdev I left the exception type up to debate. I am not sure it really matters from the Bonsai point of view as support for exception handling doesn't really exist right now, but I am curious what we should go with in these operators.

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

Successfully merging this pull request may close these issues.

1 participant