Photosynthetically Active Radiation (PAR)¶
Use the MultispeQ’s PAR sensor to measure light intensity (400-700nm) in µmol photons × s⁻¹ × m⁻², which represents the Photosynthetically Active Radiation.
This protocol outputs the PAR value, as well as the raw values for the red, green, and blue channel of the sensor.
Basic Usage¶
Example: Import statement for the par protocol¶
## Import par
from jii_multispeq_protocols.protocols import par as _par
Sequence¶
%%{
init: {
"theme": "base",
"themeVariables": {"primaryColor": "#49e06d", "primaryTextColor": "#005e5e", "primaryBorderColor": "#005e5e", "lineColor": "#fff381", "secondaryColor": "#afd7f4", "tertiaryColor": "#D7EBF9"}
}
}%%
flowchart LR
START((Start))
A0["`**Protocol**
*Sensor:* PAR light sensor`"]:::protocol
START ==> A0
A0 ==> END
END(( End ))
classDef protocol text-align:left,white-space:pre;
Details¶
Code¶
Protocol Code¶
[{'averages': 1, 'environmental': [['light_intensity']]}]
Analysis¶
Usage¶
Analysis Example (requires
JII-MultispeQ package)¶from jii_multispeq import measurement as _measurement
from jii_multispeq_protocols.protocols import par as _par
## Take a measurement using the MultispeQ
data, crc32 = _measurement.measure(port="<Selected Port>", protocol=_par, filename=None, notes="")
## The analyze function of JII-MultispeQ helps to provide the correct format
output = _measurement.analyze( data, _par._analyze )
## View Analysis output (as table)
_measurement.view( output )
Function Details¶
- _analyze(_data)[source]
Return the PAR value, as well as the RGB channels raw values.
Example Data¶
Parameter |
Value |
|---|---|
blue |
465.0 |
device_battery |
82 |
device_firmware |
2.3465 |
device_id |
01:12:53:20 |
device_name |
MultispeQ |
device_version |
2 |
green |
575.4 |
PAR |
346.791 |
red |
2086.0 |