Hendricks-Laboratory / Hendricks-Laboratory/OT2Control
build in temperature ramping
- Dominant language
- Python
- Stars
- 8
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
This would follow up issue #21 and would accept a start temperature, final temperature, and time, and then translate this one line to a number of lines (10? depends on temp difference or time?) with intermediate temperatures and pause steps in between them.
For example:
temp_ramp(T_init = 25, T_final = 80, time = 9) would be translated to:
temp_on(30 C)
pause(60 sec)
temp_on(35 C)
pause(60 sec)
temp_on(40 C)
pause(60 sec)
temp_on(45 C)
pause(60 sec)
temp_on(50 C)
pause(60 sec)
temp_on(55 C)
pause(60 sec)
temp_on(60 C)
pause(60 sec)
temp_on(65 C)
pause(60 sec)
temp_on(70 C)
pause(60 sec)
temp_on(75 C)
pause(60 sec)
temp_on(80 C)
Note that this wouldn't be exact because it ignores the actual heating/cooling time for the temperature controller, but as long as the time is reasonably long then this probably won't be significant, and if there are enough intermediate points then it won't take it long to get between them. Maybe there's a better way to track time and handle this, but I think this would cover our needs.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.