-
Notifications
You must be signed in to change notification settings - Fork 0
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
Workflow for Odor Calibration #69
Comments
Regarding 3-, i am not sure what the standard settings are. Do you always want to calibrate with a concentration of 100% (i.e. 100ml/min) or do you have something else in mind? The data will likely be saved in the same way as the behavior data, you can just pass a different subject schema to generate a new name. In the future, we should come up with a schema for what the output of this calibration is and save that file directly. If you want to start thinking about what information should go into / the structure of the objects would be nice! |
3- In principle I as thinking 100% but leaving that as something that might be necessary to adjust in the future. I can image that we would want to see the full calibration curve at different % if we start playing with the concentration in the behavior. |
Three calibrations should be performed:
|
It is unclear to me if this calibration should be part of a centralized repo with calibrations or should be part of this task repo. We should perhaps discuss this. |
Fixed via cc9fb6b |
In order to finish the odor calibration part of this issue It would be good to collect some data to validate the approach. Can we schedule a time to do it next week? |
|
Check with Artur from Champalimaud
For the next milestone we should implement:
|
Trying to implement this and I don't think we want to do this. In order to calibrate the PID we want a condition where the overall Flow rate is constant and what we vary is the air dilution between the odor channel and the carrier. The problem is that in our setup channel 3 is the carrier but also the only channel that can go above 100ml min.
|
Yes, that's a good idea. We can also have 2 different tubing set up so that we can swap it in and out without disconnecting at the manifold. This will make leaks less likely to happen. For this we should order extra manifold and odor tube holder from Artur. Let me know if this sounds good and I will ask Alex to place the extra order. |
Going with 1. after discussing during the meeting. |
Code a workflow in bonsai for testing the odor calibration:
1- Reads and saves Olfactometer triggers.
2 - Reads and saves Analog board signals. No need for the Harp Behavior in my opinion, use a harp Analog Input to do this and it's easier to deploy in any box.
3 - Sets the flow settings to be the standard ones for the task. Maybe in the future we can think if we want to change them and how to have that make sense for the calibration.
4 - On and off loop triggers for all odor valves with say 2s pulses. Key-down start of the loop.
A more general discussion could be how to save the data so it's easy to recover things. At least the date and the box ID in the name of the saved file?
The text was updated successfully, but these errors were encountered: