Calibrate UPPER LED using CaliQ PAR sensor DMK


Each of the LEDs is calibrated to determine the light intensity it produces in the chamber (measured in uE of Photosynthetically Active Radiation, PAR) for all lights on main board and leaf clip. This calibration can be performed using the external RGBC sensor. For IR or UV LEDs (which are outside of the PAR range), the calibration values are set to slope = 1 y intercept = 0, so that the user inputted value is equal to the DAC setting inside the device hardware. This may cause the maximum intensity for these LEDs to be above levels which can be sustained by the LED - so be careful when using very high values for long periods of time.
// The protocol runs a series of light DAC settings to the LEDs. 
// There are two outputs: the DAC setting itself, and the the ext_light (measured values of PAR) and the 

// The macro aims to figure out what setting we need to send to the DAC to obtain a given light intensity
// So, after getting the data in the proper format, the results are sent into MathPOLYREG. In the past,
// the programers used a 4th order polinomial, which is quite excessive.
 
var output = {};


var number_intensities=0;
var temp=[]; 
var t=-1;
var test_led=0;
var num_leds=0;
var prev_led=NaN;
var light_in =0;

for (var j=0; j<json.set.length; j++){
  	// cycle through the data, find out how many times the protocols were repeated
    // and how many LEDs were used 
	
  if(json.set[j].dac_led != 'undefined') {
    
      var temp2 = json.set[j].dac_led[0]; 
  
 	if (temp2>0) {
      
      if (temp2 != prev_led) {
         num_leds += 1; 
         prev_led=temp2;
        light_in=0; 
      } else if (prev_led>0) {
        light_in+=1;
        test_led=temp2; 
        
      }
      
    }
}
}
//output.vidx=json.set[1].v_idx;
 
/*
   
for (var j=0; j<json.set.length; j++){  // cycle through the data, find out how many times the protocols were repeated
  										// by counting the times the index for protocol 0 appears
  temp = json.set[j].label; 
	if (temp=="@s1"){    // the first value of the ind contains the set index. 
  		number_intensities+=1; 
    } 
  var temp2 = json.set[j].dac_led[0]; 
	if (temp2==temp2){    // the first value of the ind contains the set index. 
  		t+=1; 
    } 
  
}      
output.light_in=light_in;
 
output.num_leds=num_leds;
output.prot_id=t; //json.set.length;    

return output;
*/

set_repeats=num_leds; //json.set[json.set.length-1].dac_led[0];   //4; //temp[0] +1;  

number_intensities=light_in+1;  //number_intensities/set_repeats;
 
output.number_intensities=number_intensities; //json.set_repeats;  //v_arrays[0].join();  

var protocol_repeats=1;
output.set_repeats = set_repeats;   
output.protocol_repeats = protocol_repeats;    

 
  
//var test2 = json.set[0].setting;
//var test3 = json.set[0].ext_light[4];
 
var LED=[]; 
var settings=[];
var ext_lights = [];
var ext_lights_c=[];

var indexes =[];
var responseArrays=[];
var models=[];
var settings=[];

var aArray = [];
var bArray = [];
var cArray = [];
var R2Array = [];
output.number_intensities=number_intensities;

output.LEDs=LED.join();
 
output["toDevice"] = "set_par_to_dac_calibration+"; // command to send calibration data to device  

 
for (var j=0; j<output.set_repeats; j++){  // cycle through the set releats, each one for a different LED
    LED.push(json.set[j*number_intensities].dac_led[0]);  //recall that the data is zero indexed, but the LEDs can 
  												   // be indexes arbitrarity.
	var setting=[]; // stores the LED output voltage settings
 	var ext_light=[]; // stored the output values for the external PAR sensor, which presumably have been calibrated
  	var responseArray=[]; // stored the same data in different format [x1,y1,x2,y2,...] for the fitting
	var ext_light_c=[];
  
	for (var k=1; k < number_intensities; k++){ 
      var index=j*output.number_intensities + k; 
      
      var av_ext_light=0;
      	
      for (var use_pt =0; use_pt<protocol_repeats; use_pt++){
      	var pt = (5*use_pt)+4;
        av_ext_light+=json.set[index].qpar[pt]/protocol_repeats;   
      }
      
      if ((av_ext_light > 20) && (json.set[index].dac_led[1]<1000)) {       
         
            setting.push(json.set[index].dac_led[1]);
            ext_light.push(MathROUND(av_ext_light,3)); //json.set[index].ext_light[pt]);  // the measured PAR values for each setting
			indexes.push(k); 
       	 	  
        var tempvar = [json.set[index].dac_led[1], av_ext_light];  

        	responseArray.push(tempvar);     
      		     
      	} 
    }  
     ext_lights.push(ext_light);
     ext_lights_c.push(ext_light_c);
     settings.push(setting); // the settings used for each mesurements

  /* 
  
 
  To use the :

        var a = 1000;
        var b = 40;
        var c = 10;
        var eq = NonLinearRegression( data, {"equation": '( c + a / ( 1 + b / x ) )', initial: [ a, b, c]} )
  
  */
  	// the issue is that the best fits are very sensitive to starting parameters, AND
    // the better fits tend to be numbers much bigger than we can handle.
    // At present, the fit routines do not allow us to limit the range of paramters.
    // as a cludge, I run through a few different starting conditions and 
    // find the one that has the best R2 and sufficiently low paramter values
  
    var aa = [20, 100, 2000, 3000, 5000, 5000]; //set up a range os 
    var bb = [100, 500, 1000, 2000, 3000, 5000]; 
    var iters = [5,15,10,15,30, 300]; 
    var cc = -240;
    var bestR2 = 0;
    var MaxA = 1000000;
   
  var a = 0;
  var b = 0;
  var c = 0;
  var r2 = 0;
  for (var icIndex = 0; icIndex<aa.length; icIndex++){
   
  	var model = NonLinearRegression( responseArray, {"equation": '( c + a / ( 1 + b / x ) )', initial: [ aa[icIndex], bb[icIndex], cc ], RelaxF: 0.1, LeastAbs: false, Centered:false, Percentile: 60, iterations:iters[icIndex]} );
    //if ((Math.abs(model.r2) > bestR2) && (model.parameters[0].value < MaxA)){
     if ((Math.abs(model.r2) > bestR2) && (model.parameters[0].value < MaxA) && (model.parameters[0].value > -1000)){
    a = model.parameters[0].value;    
   	b = model.parameters[1].value;  
  	c = model.parameters[2].value; 
    r2 = model.r2;
       bestR2=r2;
       if (j==1) {
          output["r2_" + icIndex]=model.r2;
          output["a_" + j + "_" +  icIndex]=a;
          output["iter_" + j + "_"+ icIndex]=model.iterations; 
       }
       }
   } 
   

    // the model will extimate the setting needed to achieve a given measured light intensity! 
  	 models.push(model);
      aArray.push(a);
      bArray.push(b);
      cArray.push(c);
  		R2Array.push(r2);
 	responseArrays.push(responseArray);
}
 
output.LEDs=LED.join(); 
output.ext_light_all=ext_lights; 
output.settings=settings; //.join();  
//output.test=responseArray; 
  
var led_set=0; 
var residual=[]; 
var pset_intensity=[];

for (var led_set=0; led_set<set_repeats; led_set++){
 	//var a = models[led_set].parameters[0].value;  
  	//var b = models[led_set].parameters[1].value;  
  	//var c = models[led_set].parameters[2].value;  
	a = aArray[led_set];
	b = bArray[led_set];
	c = cArray[led_set];
  
   output["R2 " +led_set]=R2Array[led_set];   //models[led_set].r2;  

    var predicted=[];
    for (var i=0; i<settings[led_set].length; i++){
      predicted.push((c + a / ( 1.0 + b / settings[led_set][i])));
    }
   // var predicted_10=[];
   // for (var i=0; i<settings[led_set].length; i++){
   //   predicted_10.push((c + (a) / ( 1.0 + (b) / settings[led_set][i])));
   // } 
   
    //output.predicted=predicted;
 //   output.predicted_10=predicted_10; 
   	//output.tt=settings.length;
  	output["toDevice"] += LED[led_set];
  	output ["toDevice"] += "+";
  	output["toDevice"] += MathROUND(a,3); 
  	output ["toDevice"] += "+";
  	output["toDevice"] += MathROUND(b,3);
  	output ["toDevice"] += "+"; 
     var tt=MathMIN(predicted)/2;
  	output["toDevice"] += MathROUND(c-tt,3); 
  	//output["toDevice"] += MathROUND(c,3); 
  	output ["toDevice"] += "+"; 
}
output ["toDevice"] += "-1+";
output ["toDevice"] += "par_method+1+"; 
/*
var nonParLEDS=[5,6,7,8,9];
for (var ii =0; ii<nonParLEDS.length; ii++) {
  
    output["toDevice"] += nonParLEDS[ii];
  	output ["toDevice"] += "+";
  	output["toDevice"] += 10000; 
  	output ["toDevice"] += "+";
  	output["toDevice"] += 2000;
  	output ["toDevice"] += "+"; 
  	output["toDevice"] += -200; 
  	output ["toDevice"] += "+"; 

}
	var ii = 10;
    output["toDevice"] += ii;
  	output ["toDevice"] += "+";
  	output["toDevice"] += 10000; 
  	output ["toDevice"] += "+";
  	output["toDevice"] += 2000; 
  	output ["toDevice"] += "+"; 
  	output["toDevice"] += -500; 
  	output ["toDevice"] += "+"; 
*/
//output ["toDevice"] += "-1+";


return output;
{
  "time": 1548201834883,
  "device_name": "MultispeQ",
  "device_version": "2",
  "device_id": "41:00:08:90",
  "device_battery": 97,
  "device_firmware": 2.0092,
  "sample": [
    [
      {
        "time": 1548201834883,
        "v_arrays": [
          [
            "42",
            "45",
            "60",
            "65",
            "70",
            "75",
            "80",
            "85",
            "90",
            "100",
            "115",
            "135",
            "150",
            "170",
            "210",
            "260",
            "320",
            "375",
            "500",
            "600",
            "900",
            "1300",
            "2000",
            "3000"
          ],
          [
            "1",
            "2",
            "3",
            "4"
          ]
        ],
        "set_repeats": 4,
        "protocol_id": 1,
        "set": [
          {
            "time": 1548201834883,
            "dac_led": [
              1,
              42
            ],
            "qpar": [
              1,
              3,
              1,
              5,
              5.871,
              1,
              3,
              1,
              5.667,
              6.478,
              1,
              3,
              1,
              5.667,
              6.478
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201836976,
            "dac_led": [
              1,
              45
            ],
            "qpar": [
              2,
              10,
              2,
              15,
              8.333,
              2,
              10,
              2,
              15,
              8.333,
              2,
              10,
              2,
              15,
              8.333
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201839099,
            "dac_led": [
              1,
              60
            ],
            "qpar": [
              24,
              115,
              24,
              176,
              55.943,
              24,
              115,
              23.667,
              175.333,
              55.029,
              24,
              115,
              24,
              175,
              55.032
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201841223,
            "dac_led": [
              1,
              65
            ],
            "qpar": [
              33,
              161,
              33,
              245,
              75.344,
              33,
              161,
              33,
              245,
              75.344,
              33,
              160.667,
              33,
              244.667,
              75.361
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201843348,
            "dac_led": [
              1,
              70
            ],
            "qpar": [
              42,
              202.667,
              42,
              308.667,
              94.06,
              42,
              203,
              42,
              309,
              94.043,
              42,
              202.667,
              42,
              308.667,
              94.06
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201845471,
            "dac_led": [
              1,
              75
            ],
            "qpar": [
              50,
              246,
              52,
              375,
              115.348,
              50,
              246,
              52,
              375,
              115.348,
              50,
              246.667,
              52,
              375,
              114.706
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201847595,
            "dac_led": [
              1,
              80
            ],
            "qpar": [
              59,
              290.333,
              61,
              442,
              134.532,
              59,
              290.667,
              61.333,
              442,
              134.518,
              59,
              290,
              61,
              441.333,
              134.246
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201849719,
            "dac_led": [
              1,
              85
            ],
            "qpar": [
              67,
              335,
              71,
              509.333,
              155.447,
              67,
              335,
              71,
              509,
              155.143,
              67,
              335,
              71,
              509,
              155.143
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201851843,
            "dac_led": [
              1,
              90
            ],
            "qpar": [
              76,
              379,
              81,
              576,
              175.57,
              76,
              379,
              81,
              576.333,
              175.874,
              76,
              379,
              81,
              576.333,
              175.874
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201853968,
            "dac_led": [
              1,
              100
            ],
            "qpar": [
              93,
              467.333,
              101,
              710.333,
              217.233,
              93,
              467,
              101,
              710,
              217.25,
              93,
              467,
              101,
              710,
              217.25
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201856092,
            "dac_led": [
              1,
              115
            ],
            "qpar": [
              117,
              599,
              132,
              910.667,
              281.628,
              117.333,
              599.333,
              132,
              911,
              281.335,
              117,
              599,
              132,
              910.333,
              281.324
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201858216,
            "dac_led": [
              1,
              135
            ],
            "qpar": [
              149,
              772.333,
              173,
              1174,
              365.88,
              149.333,
              772,
              173,
              1174,
              365.926,
              149.667,
              772,
              173,
              1174,
              365.65
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201860340,
            "dac_led": [
              1,
              150
            ],
            "qpar": [
              172.667,
              899,
              204,
              1367,
              428.687,
              172.667,
              899,
              203.333,
              1366.333,
              427.466,
              173,
              899,
              203.667,
              1367,
              428.104
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201862464,
            "dac_led": [
              1,
              170
            ],
            "qpar": [
              202,
              1064,
              244,
              1618.667,
              511.621,
              202,
              1064,
              244,
              1618.667,
              511.621,
              202,
              1064,
              244,
              1618.667,
              511.621
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201864588,
            "dac_led": [
              1,
              210
            ],
            "qpar": [
              259.333,
              1385,
              326,
              2109.333,
              677.565,
              259.333,
              1384.333,
              326,
              2109,
              677.903,
              260,
              1384,
              326,
              2109,
              677.674
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201866712,
            "dac_led": [
              1,
              260
            ],
            "qpar": [
              326.667,
              1767.667,
              426.667,
              2697.667,
              882.013,
              327,
              1767,
              426,
              2697,
              881.158,
              326.333,
              1766.333,
              426,
              2696,
              881.44
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201868836,
            "dac_led": [
              1,
              320
            ],
            "qpar": [
              400.333,
              2198,
              544,
              3362,
              1119.901,
              401,
              2196.667,
              544,
              3360.333,
              1119.117,
              401,
              2196,
              544,
              3359,
              1118.544
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201870961,
            "dac_led": [
              1,
              375
            ],
            "qpar": [
              466,
              2581,
              652.667,
              3956.667,
              1338.546,
              466,
              2578.667,
              652,
              3954,
              1337.75,
              466,
              2577.333,
              652,
              3952,
              1337.213
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201873085,
            "dac_led": [
              1,
              500
            ],
            "qpar": [
              600,
              3381,
              887.667,
              5205,
              1810.906,
              599.667,
              3374,
              886.667,
              5196.667,
              1809.411,
              599.333,
              3371,
              885.667,
              5192.333,
              1807.707
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201875208,
            "dac_led": [
              1,
              600
            ],
            "qpar": [
              697.333,
              3963.667,
              1069,
              6126,
              2175.28,
              697.667,
              3955.333,
              1066.333,
              6115.667,
              2171.16,
              697,
              3951.333,
              1065,
              6109.667,
              2168.87
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201877333,
            "dac_led": [
              1,
              900
            ],
            "qpar": [
              955.667,
              5530,
              1586,
              8633,
              3213.129,
              955,
              5501,
              1577.333,
              8594.666,
              3198.706,
              951.667,
              5483,
              1571.667,
              8566.334,
              3187.769
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201879456,
            "dac_led": [
              1,
              1300
            ],
            "qpar": [
              1236.333,
              7216,
              2195.333,
              11398,
              4437.346,
              1234.667,
              7149.666,
              2171,
              11302.667,
              4393.352,
              1234,
              7115.333,
              2156.667,
              11252.666,
              4368.217
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201881582,
            "dac_led": [
              1,
              2000
            ],
            "qpar": [
              1624,
              9381.333,
              3029.667,
              15049.666,
              6126.42,
              1618,
              9216.334,
              2961.667,
              14805.332,
              6005.074,
              1622,
              9125,
              2935.667,
              14684,
              5955.256
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201883705,
            "dac_led": [
              1,
              3000
            ],
            "qpar": [
              2034.667,
              11232,
              3768.333,
              18332.334,
              7675.261,
              2019.667,
              10941.667,
              3647.333,
              17857.334,
              7423.134,
              2015,
              10765.334,
              3575.667,
              17574,
              7272.708
            ],
            "label": "1",
            "data_raw": [

            ]
          },
          {
            "time": 1548201885830,
            "dac_led": [
              2,
              42
            ],
            "qpar": [
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201887952,
            "dac_led": [
              2,
              45
            ],
            "qpar": [
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201890076,
            "dac_led": [
              2,
              60
            ],
            "qpar": [
              5,
              0,
              1,
              5.333,
              5.758,
              5,
              0,
              1,
              5,
              5.454,
              5,
              0,
              1,
              5,
              5.454
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201892202,
            "dac_led": [
              2,
              65
            ],
            "qpar": [
              35.667,
              2,
              6,
              37.667,
              12.544,
              35,
              2,
              6,
              37,
              12.488,
              35,
              2,
              6,
              37,
              12.488
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201894323,
            "dac_led": [
              2,
              70
            ],
            "qpar": [
              88.333,
              5,
              15,
              92.667,
              24.516,
              88,
              5,
              15,
              93,
              25.095,
              87.667,
              4.667,
              15,
              92.667,
              25.388
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201896448,
            "dac_led": [
              2,
              75
            ],
            "qpar": [
              152,
              8,
              25,
              160,
              39.552,
              152.333,
              8,
              25,
              160.333,
              39.58,
              152,
              8,
              25,
              160.333,
              39.855
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201898572,
            "dac_led": [
              2,
              80
            ],
            "qpar": [
              222,
              11,
              37,
              233.333,
              56.661,
              221.667,
              11,
              37,
              233.333,
              56.937,
              221,
              11,
              37,
              232,
              56.274
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201900695,
            "dac_led": [
              2,
              85
            ],
            "qpar": [
              294.333,
              15,
              49,
              310,
              73.915,
              294.667,
              15,
              49,
              310,
              73.64,
              294,
              15,
              49,
              309.667,
              73.887
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201902819,
            "dac_led": [
              2,
              90
            ],
            "qpar": [
              370.333,
              19,
              61,
              390,
              91.175,
              370.333,
              19,
              61,
              390,
              91.175,
              370,
              19,
              61,
              389.333,
              90.844
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201904944,
            "dac_led": [
              2,
              100
            ],
            "qpar": [
              528,
              27,
              87,
              555,
              127.409,
              528,
              27,
              87,
              555.333,
              127.712,
              527.667,
              27,
              87,
              555.667,
              128.291
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201907068,
            "dac_led": [
              2,
              115
            ],
            "qpar": [
              774,
              40,
              128,
              815,
              186.172,
              774,
              40,
              128,
              814.667,
              185.869,
              773.667,
              40,
              128,
              814.667,
              186.144
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201909191,
            "dac_led": [
              2,
              135
            ],
            "qpar": [
              1110.667,
              57,
              184,
              1168.667,
              265.286,
              1110.333,
              57,
              184,
              1169.333,
              266.169,
              1110.333,
              57,
              184,
              1169,
              265.865
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201911316,
            "dac_led": [
              2,
              150
            ],
            "qpar": [
              1365.667,
              70,
              226,
              1437.667,
              325.73,
              1365.333,
              70,
              226,
              1437,
              325.399,
              1365.667,
              70,
              226,
              1437,
              325.123
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201913439,
            "dac_led": [
              2,
              170
            ],
            "qpar": [
              1711,
              88,
              283,
              1800.667,
              406.141,
              1711.333,
              88,
              283,
              1801,
              406.17,
              1711.333,
              88,
              283,
              1800.333,
              405.563
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201915563,
            "dac_led": [
              2,
              210
            ],
            "qpar": [
              2430.333,
              126,
              403,
              2557.333,
              574.807,
              2430,
              126,
              403,
              2557,
              574.779,
              2429.333,
              126,
              403,
              2556.333,
              574.722
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201917688,
            "dac_led": [
              2,
              260
            ],
            "qpar": [
              3355.667,
              174,
              557.333,
              3530,
              791.965,
              3355.333,
              174.333,
              557.333,
              3530,
              791.919,
              3355.667,
              174.667,
              558,
              3530,
              791.937
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201919812,
            "dac_led": [
              2,
              320
            ],
            "qpar": [
              4439,
              231,
              739.333,
              4668,
              1045.957,
              4439,
              232,
              739.667,
              4667.333,
              1044.694,
              4437.667,
              232,
              739.333,
              4666.667,
              1044.881
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201921936,
            "dac_led": [
              2,
              375
            ],
            "qpar": [
              5480,
              287,
              913,
              5763,
              1289.055,
              5477.667,
              287,
              913,
              5763,
              1290.983,
              5477.333,
              287,
              913,
              5764,
              1292.169
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201924060,
            "dac_led": [
              2,
              500
            ],
            "qpar": [
              7841.334,
              413,
              1311.333,
              8250.667,
              1849.025,
              7839.333,
              413,
              1312.667,
              8248.333,
              1849.782,
              7839,
              413.667,
              1313,
              8247.333,
              1848.812
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201926184,
            "dac_led": [
              2,
              600
            ],
            "qpar": [
              9732.666,
              516.667,
              1633.667,
              10239,
              2294.111,
              9728.667,
              517,
              1635.333,
              10235.667,
              2295.594,
              9727.333,
              517.333,
              1636,
              10234.333,
              2295.777
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201928309,
            "dac_led": [
              2,
              900
            ],
            "qpar": [
              15458.668,
              833.333,
              2618,
              16263,
              3650.643,
              15453.334,
              835.667,
              2621,
              16254,
              3647.375,
              15446.334,
              836.333,
              2622.667,
              16247.334,
              3647.983
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201930434,
            "dac_led": [
              2,
              1300
            ],
            "qpar": [
              23107.334,
              1274.333,
              3954,
              24300,
              5455.978,
              23085.334,
              1278.667,
              3962.667,
              24273.334,
              5453.693,
              23072,
              1279,
              3967,
              24258,
              5454.421
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201932557,
            "dac_led": [
              2,
              2000
            ],
            "qpar": [
              36343,
              2077.667,
              6362,
              38217.668,
              8639.035,
              36228.336,
              2094.333,
              6346,
              38067,
              8565.791,
              36176.332,
              2101,
              6343.333,
              38004,
              8542.518
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201934681,
            "dac_led": [
              2,
              3000
            ],
            "qpar": [
              44032,
              3342,
              9786.666,
              44032,
              9520.014,
              44032,
              3392.333,
              9802.334,
              44032,
              9486.002,
              44032,
              3396,
              9808.667,
              44032,
              9488.311
            ],
            "label": "2",
            "data_raw": [

            ]
          },
          {
            "time": 1548201936805,
            "dac_led": [
              3,
              42
            ],
            "qpar": [
              12,
              3,
              1,
              17,
              7.709,
              12,
              3,
              1,
              17,
              7.709,
              12,
              3,
              1,
              17,
              7.709
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201938929,
            "dac_led": [
              3,
              45
            ],
            "qpar": [
              20,
              5,
              2,
              29.333,
              11.325,
              20,
              5,
              2,
              30,
              11.932,
              20,
              5,
              2,
              29.667,
              11.629
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201941053,
            "dac_led": [
              3,
              60
            ],
            "qpar": [
              72,
              17,
              7,
              105,
              30.314,
              72,
              17,
              7,
              105,
              30.314,
              72,
              17,
              7,
              105,
              30.314
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201943177,
            "dac_led": [
              3,
              65
            ],
            "qpar": [
              91,
              22,
              9,
              133,
              37.14,
              91,
              22,
              9,
              133,
              37.14,
              91,
              22,
              9,
              133,
              37.14
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201945301,
            "dac_led": [
              3,
              70
            ],
            "qpar": [
              108,
              26,
              10,
              158,
              42.928,
              108,
              26,
              10,
              158,
              42.928,
              108,
              26,
              10,
              158,
              42.928
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201947425,
            "dac_led": [
              3,
              75
            ],
            "qpar": [
              126,
              30,
              12,
              184.333,
              50.026,
              126,
              30,
              12,
              185,
              50.633,
              126,
              30,
              12,
              185,
              50.633
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201949549,
            "dac_led": [
              3,
              80
            ],
            "qpar": [
              144,
              35,
              14,
              211,
              56.464,
              144,
              35,
              14,
              211,
              56.464,
              144,
              35,
              14,
              211,
              56.464
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201951673,
            "dac_led": [
              3,
              85
            ],
            "qpar": [
              163,
              39,
              16,
              238,
              63.343,
              163,
              39,
              16,
              238,
              63.343,
              163,
              39,
              16,
              238,
              63.343
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201953797,
            "dac_led": [
              3,
              90
            ],
            "qpar": [
              181,
              43,
              17,
              265,
              70.126,
              181,
              43,
              17,
              265,
              70.126,
              181,
              43,
              17,
              265,
              70.126
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201955921,
            "dac_led": [
              3,
              100
            ],
            "qpar": [
              219,
              52,
              21,
              319,
              82.92,
              218.667,
              52,
              21,
              319,
              83.195,
              218,
              52,
              21,
              319,
              83.746
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201958044,
            "dac_led": [
              3,
              115
            ],
            "qpar": [
              275.333,
              65.333,
              26,
              401.333,
              103.115,
              275,
              65,
              26,
              401,
              103.408,
              275,
              65,
              26,
              401,
              103.408
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201960168,
            "dac_led": [
              3,
              135
            ],
            "qpar": [
              351.667,
              83,
              33,
              512.333,
              130.559,
              351,
              83,
              33,
              511,
              129.896,
              350.667,
              83,
              33,
              510,
              129.26
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201962292,
            "dac_led": [
              3,
              150
            ],
            "qpar": [
              408.333,
              96,
              39,
              593.667,
              150.811,
              407.667,
              96,
              39,
              592.667,
              150.451,
              407,
              95.667,
              39,
              592,
              150.715
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201964417,
            "dac_led": [
              3,
              170
            ],
            "qpar": [
              485.333,
              113.333,
              46,
              704,
              177.417,
              484,
              113,
              46,
              702.333,
              177.322,
              483,
              113,
              46,
              701,
              176.935
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201966541,
            "dac_led": [
              3,
              210
            ],
            "qpar": [
              638.667,
              147.333,
              60,
              924,
              231.217,
              635.667,
              146.333,
              60,
              919,
              230.106,
              634,
              146,
              60,
              916.333,
              229.376
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201968665,
            "dac_led": [
              3,
              260
            ],
            "qpar": [
              825.667,
              187.667,
              77.333,
              1190.333,
              296.363,
              821,
              186,
              77,
              1182,
              293.928,
              818.333,
              185,
              77,
              1177.667,
              293.149
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201970789,
            "dac_led": [
              3,
              320
            ],
            "qpar": [
              1045.667,
              233.333,
              97.333,
              1500,
              371.023,
              1038.333,
              230.333,
              97,
              1486.667,
              367.523,
              1033.667,
              228.667,
              96,
              1479.333,
              365.384
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201972913,
            "dac_led": [
              3,
              375
            ],
            "qpar": [
              1237,
              270.667,
              114.667,
              1764.667,
              433.96,
              1226.333,
              267,
              113.667,
              1747.333,
              429.598,
              1220.667,
              264.667,
              113,
              1737.333,
              426.807
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201975036,
            "dac_led": [
              3,
              500
            ],
            "qpar": [
              1663.667,
              351.333,
              153,
              2352.667,
              574.499,
              1640.667,
              343.667,
              150.667,
              2316.333,
              565.65,
              1627,
              339,
              149.333,
              2292.333,
              558.353
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201977161,
            "dac_led": [
              3,
              600
            ],
            "qpar": [
              1964.333,
              400.333,
              179.333,
              2752.667,
              667.39,
              1931.333,
              389.667,
              176,
              2700,
              653.898,
              1913.333,
              383.667,
              174.333,
              2671,
              646.605
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201979571,
            "dac_led": [
              3,
              900
            ],
            "qpar": [
              2805,
              529.667,
              251.667,
              3859.667,
              922.923,
              2705.667,
              500,
              241.667,
              3704,
              882.6,
              2650,
              483.333,
              236,
              3617.333,
              860.503
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201981410,
            "dac_led": [
              3,
              1300
            ],
            "qpar": [
              3551.667,
              597.667,
              311.333,
              4763,
              1118.049,
              3364.667,
              548.333,
              293,
              4481.667,
              1046.988,
              3252.333,
              520.333,
              282.333,
              4315.333,
              1005.474
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201984612,
            "dac_led": [
              3,
              2000
            ],
            "qpar": [
              4158.667,
              579.667,
              351,
              5368,
              1221.291,
              3772.333,
              498.667,
              315,
              4822,
              1088.141,
              3577.667,
              459.667,
              297.333,
              4550,
              1022.579
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201985658,
            "dac_led": [
              3,
              3000
            ],
            "qpar": [
              3940.667,
              421.333,
              317,
              4853.667,
              1054.189,
              3436,
              344,
              273.667,
              4186.333,
              898.041,
              3184.667,
              307,
              252.333,
              3858,
              822.701
            ],
            "label": "3",
            "data_raw": [

            ]
          },
          {
            "time": 1548201987783,
            "dac_led": [
              4,
              42
            ],
            "qpar": [
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548201989908,
            "dac_led": [
              4,
              45
            ],
            "qpar": [
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548201992028,
            "dac_led": [
              4,
              60
            ],
            "qpar": [
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548201994151,
            "dac_led": [
              4,
              65
            ],
            "qpar": [
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548201996275,
            "dac_led": [
              4,
              70
            ],
            "qpar": [
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548201998397,
            "dac_led": [
              4,
              75
            ],
            "qpar": [
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202000520,
            "dac_led": [
              4,
              80
            ],
            "qpar": [
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202002644,
            "dac_led": [
              4,
              85
            ],
            "qpar": [
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202004768,
            "dac_led": [
              4,
              90
            ],
            "qpar": [
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202006890,
            "dac_led": [
              4,
              100
            ],
            "qpar": [
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111,
              0,
              0,
              0,
              0,
              4.111
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202009013,
            "dac_led": [
              4,
              115
            ],
            "qpar": [
              1,
              3,
              11,
              14,
              23.284,
              1,
              2.667,
              10.667,
              14,
              23.297,
              1,
              3,
              10.333,
              14,
              22.669
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202011137,
            "dac_led": [
              4,
              135
            ],
            "qpar": [
              3,
              10,
              42,
              57,
              82.619,
              3,
              10,
              42,
              57,
              82.619,
              3,
              10,
              42,
              57,
              82.619
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202013261,
            "dac_led": [
              4,
              150
            ],
            "qpar": [
              5,
              17,
              68,
              92,
              130.062,
              5,
              17,
              68,
              92.667,
              130.669,
              5,
              17,
              68,
              93,
              130.973
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202015387,
            "dac_led": [
              4,
              170
            ],
            "qpar": [
              7,
              26,
              104,
              141,
              197.545,
              7,
              26,
              104,
              141,
              197.545,
              7,
              26,
              104,
              141,
              197.545
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202017509,
            "dac_led": [
              4,
              210
            ],
            "qpar": [
              12,
              43,
              175,
              238.333,
              331.118,
              12,
              43,
              175,
              239,
              331.725,
              12,
              43,
              175,
              238,
              330.814
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202019633,
            "dac_led": [
              4,
              260
            ],
            "qpar": [
              18,
              65,
              263.333,
              359,
              496.274,
              18,
              65,
              263.667,
              359,
              496.581,
              18,
              65,
              263.333,
              359,
              496.274
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202021757,
            "dac_led": [
              4,
              320
            ],
            "qpar": [
              26,
              91,
              368,
              502,
              691.318,
              26,
              91,
              368,
              502,
              691.318,
              26,
              91,
              368,
              502,
              691.318
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202023881,
            "dac_led": [
              4,
              375
            ],
            "qpar": [
              32,
              114,
              461,
              628,
              864.669,
              32,
              114,
              461,
              628.667,
              865.276,
              32,
              114,
              461,
              628.667,
              865.276
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202026005,
            "dac_led": [
              4,
              500
            ],
            "qpar": [
              48,
              167,
              672,
              918,
              1258.971,
              48,
              167,
              673,
              918,
              1259.893,
              48,
              167,
              673,
              918.667,
              1260.5
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202028129,
            "dac_led": [
              4,
              600
            ],
            "qpar": [
              60,
              208.667,
              837,
              1143,
              1565.904,
              60,
              209,
              837,
              1143.333,
              1565.886,
              60,
              209,
              837.333,
              1144,
              1566.801
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202030253,
            "dac_led": [
              4,
              900
            ],
            "qpar": [
              94,
              326,
              1305.333,
              1785.667,
              2441.714,
              94,
              326.667,
              1306,
              1787,
              2442.901,
              94,
              327,
              1307,
              1788,
              2444.412
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202032376,
            "dac_led": [
              4,
              1300
            ],
            "qpar": [
              137.667,
              475,
              1893,
              2593.333,
              3539.286,
              137,
              476,
              1895.333,
              2595.667,
              3543.149,
              137,
              476,
              1896.333,
              2597,
              3545.285
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202034501,
            "dac_led": [
              4,
              2000
            ],
            "qpar": [
              208,
              721.333,
              2855.667,
              3917.333,
              5336.919,
              207,
              723,
              2859.667,
              3922.333,
              5344.38,
              207,
              724,
              2863,
              3925.667,
              5349.525
            ],
            "label": "4",
            "data_raw": [

            ]
          },
          {
            "time": 1548202036625,
            "dac_led": [
              4,
              3000
            ],
            "qpar": [
              298.333,
              1051.667,
              4123.667,
              5663.333,
              7702.85,
              297.333,
              1055.333,
              4129,
              5670,
              7711.132,
              296.333,
              1057.333,
              4132,
              5672.667,
              7715.226
            ],
            "label": "4",
            "data_raw": [

            ]
          }
        ],
        "data_raw": [

        ]
      }
    ]
  ],
  "app_os": "macOS 16.7.0",
  "app_name": "PhotosynQ",
  "app_version": "1.0.4",
  "app_device": "x64",
  "location": false,
  "time_offset": "America/Detroit"
}
Dave in cap img 4615
Created by

David M. Kramer


Protocol connections:
0
Latest Update:
30 days ago