You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-27Lines changed: 2 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,8 @@ This plugin is also available on the Pioreactor web interface, in the _Plugins_
28
28
Type into your command line:
29
29
30
30
```
31
-
pio run led_calibration
31
+
pio calibrations --device-name led_C --protocol-name led_calibration
32
+
pio calibrations --device-name led_D --protocol-name led_calibration
32
33
```
33
34
34
35
To perform this calibration, insert your vial containing media into the Pioreactor and submerge your light probe. Follow the prompts on the command line. The plugin will increase the light intensity, and prompt you to record the readings from your light probe. A calibration line of best fit will be generated based on your light probe readings.
@@ -39,32 +40,6 @@ An automation will become available on the web interface. To use this automation
39
40
40
41
In the _Pioreactors_ tab, under _Manage_, you can _Start_ an _LED automation_. A new option becomes available in the drop-down menu called "Calibrated Light/Dark Cycle". Input your desired light intensity in AU (ex. 1000 AU). The automation will set the percent light intensity such that an output of 1000 AU occurs on **both** LEDs.
41
42
42
-
## Subcommands
43
-
44
-
Run a subcommand by typing the following into the command line:
45
-
```
46
-
pio run led_calibration <SUBCOMMAND>
47
-
```
48
-
The following subcommands are available:
49
-
50
-
### **list**
51
-
Prints a table with all existing calibrations stored on the leader. Headings include unique names, timestamps, and channels.
52
-
53
-
| Name | Timestamp | Channel | Currently in use? |
54
-
|------|----------|---------|-------------------|
55
-
| Algae_C_2022 | 2022-08-29T20:12:00.400000Z | C | ✅ |
56
-
| Algae_B_2022 | 2022-08-29T20:13:00.400000Z | B | ✅ |
57
-
| Algae_B_2021 | 2021-08-29T20:15:00.400000Z | B ||
58
-
59
-
### **display**
60
-
Displays the graph and data for the current calibration for each channel A, B, C, and D, if it exists. For example, for the data above, the current calibrations for Algae_C_2022 and Algae_B_2022 will be displayed.
61
-
62
-
### **change_current**
63
-
If you would like to change a current calibration to a previous one, use `change_current "<UNIQUE NAME>"`. These changes are based on the channel assigned to the calibration.
64
-
65
-
For example:
66
-
`pio run led_calibration change_current "Algae_B_2021"` would replace Algae_B_2022, since only one calibation is active per channel.
67
-
68
43
## When to perform an LED calibration
69
44
70
45
Calibrations should be performed on a case-by-case basis. A new calibration must be performed per channel, and/or for new LED cables, and with any change in media that can alter the light intensity within the vial.
0 commit comments