Photosynthetically Active Radiation (PAR) ========================================= .. automodule:: jii_multispeq_protocols.protocols.par :members: :undoc-members: :show-inheritance: :no-index: :no-title: Basic Usage ----------- .. code-block:: python :caption: *Example:* Import statement for the **par** protocol ## Import par from jii_multispeq_protocols.protocols import par as _par ---- Sequence -------- .. mermaid:: %%{ 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 ~~~~ .. code-block:: python :caption: Protocol Code [{'averages': 1, 'environmental': [['light_intensity']]}] ---- Analysis -------- Usage ~~~~~ .. code-block:: python :caption: 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="", 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 ~~~~~~~~~~~~~~~~ .. autofunction:: jii_multispeq_protocols.protocols.par._analyze :no-index: 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 =============== ===========