Main Body LEDs Calibration¶
new version of CaliQ LED output calibration using PAR matching…
Warning
This calibration requires a CaliQ
2280
Basic Usage¶
## Import main_body_leds_calibration
from jii_multispeq_protocols.protocols.calibrations import main_body_leds_calibration as _main_body_leds_calibration
Sequence¶
%%{
init: {
"theme": "base",
"themeVariables": {"primaryColor": "#49e06d", "primaryTextColor": "#005e5e", "primaryBorderColor": "#005e5e", "lineColor": "#fff381", "secondaryColor": "#afd7f4", "tertiaryColor": "#D7EBF9"}
}
}%%
flowchart TD
START((Start))
A0["`**cal_led_1**`"]:::protocol
START ==> A0
A1["`**cal_led_2**`"]:::protocol
A0 ==> A1
A2["`**cal_led_3**`"]:::protocol
A1 ==> A2
A3["`**cal_led_4**`"]:::protocol
A2 ==> A3
A3 ==> END
A3 -.-> |1x| A0
linkStyle 5 stroke-width:3px
END(( End ))
classDef protocol text-align:left,white-space:pre;
Details¶
Code¶
[ { '_protocol_set_': [ { 'label': 'cal_led_1',
'protocol_repeats': '#l1',
'qpar_led_cal': [1, '@p1', '@p2', 20]},
{ 'label': 'cal_led_2',
'protocol_repeats': '#l3',
'qpar_led_cal': [2, '@p3', '@p4', 20]},
{ 'label': 'cal_led_3',
'protocol_repeats': '#l5',
'qpar_led_cal': [3, '@p5', '@p6', 20]},
{ 'label': 'cal_led_4',
'protocol_repeats': '#l7',
'qpar_led_cal': [4, '@p7', '@p8', 20]}],
'set_repeats': 1,
'v_arrays': [ [1200, 20000, 1500, 12000],
[40, 600],
[600, 1200],
[40, 600, 3000],
[600, 3000, 9000],
[50, 300],
[300, 500],
[40, 600, 3000],
[600, 3000, 9000]]}]
Analysis¶
Usage¶
JII-MultispeQ package)¶from jii_multispeq import measurement as _measurement
from jii_multispeq_protocols.protocols.calibrations import main_body_leds_calibration as _main_body_leds_calibration
## Take a measurement using the MultispeQ
data, crc32 = _measurement.measure(port="<Selected Port>", protocol=_main_body_leds_calibration, filename=None, notes="")
## The analyze function of JII-MultispeQ helps to provide the correct format
output = _measurement.analyze( data, _main_body_leds_calibration._analyze )
## View Analysis output (as table)
_measurement.view( output )
Function Details¶
- _analyze(_data)[source]
Macro for data evaluation on PhotosynQ.org
by: David M. Kramer
created: July 17, 2020 10:10 AM
Example Data¶
Parameter |
Value |
|---|---|
device_battery |
63 |
device_firmware |
2.345 |
device_id |
31:f4:e8:4d |
device_name |
MultispeQ |
device_version |
2 |
max_allowed_par |
[1200, 20000, 1500, 12000] |
max_setpoint_for_led:0 |
450.0 |
max_setpoint_for_led:1 |
4095 |
max_setpoint_for_led:2 |
350.0 |
max_setpoint_for_led:3 |
3192.0 |
protocol |
[{“v_arrays”:[[1200,20000,1500,12000],[40,600],[600,1200],[40,600,3000],[600,3000,9000],[50,300],[300,500],[40,600,3000],[600,3000,9000]],”set_repeats”:1,”_protocol_set_”:[{“label”:”cal_led_1”,”qpar_led_cal”:[1,”@p1”,”@p2”,20],”protocol_repeats”:”#l1”},{“label”:”cal_led_2”,”qpar_led_cal”:[2,”@p3”,”@p4”,20],”protocol_repeats”:”#l3”},{“label”:”cal_led_3”,”qpar_led_cal”:[3,”@p5”,”@p6”,20],”protocol_repeats”:”#l5”},{“label”:”cal_led_4”,”qpar_led_cal”:[4,”@p7”,”@p8”,20],”protocol_repeats”:”#l7”}],”protocol_id”:2280}] |
r2_cal_led_1:0 |
0.9986 |
r2_cal_led_1:1 |
0.9778 |
r2_cal_led_2:0 |
0.9969 |
r2_cal_led_2:1 |
0.9986 |
r2_cal_led_2:2 |
0.9675 |
r2_cal_led_3:0 |
0.9929 |
r2_cal_led_3:1 |
0.6699 |
r2_cal_led_4:0 |
0.9952 |
r2_cal_led_4:1 |
0.9958 |
r2_cal_led_4:2 |
0.9906 |
time |
1629320993635 |
toDevice |
par_to_dac_lin+1+57.0+107.0+156.0+255.0+450.0+450.0+450.0+450.0+par_max_setting+1+450.0+par_to_dac_lin+3+29.0+362.0+694.0+1358.0+2687.0+6672.0+13314.0+22171.0+par_max_setting+3+4095+par_to_dac_lin+4+117.0+148.0+177.0+237.0+356.0+350.0+350.0+350.0+par_max_setting+4+350.0+par_to_dac_lin+2+72.0+119.0+165.0+256.0+438.0+985.0+1897.0+3113.0+par_max_setting+2+3192.0+ |