HyperspeQ4s


This macro only returns the raw trace as `Original Trace`
//============================================
// Macro for data evaluation on PhotosynQ.org
// created: 8/25/2016
//============================================

//Define the output object here
var output = {};

//Check if the key time exists in json
if (json.data_raw !== undefined){

	//Add key time and value to output
	output["1"] = json.set[1].data_raw.slice(100,255);
 	output["2"] = json.set[2].data_raw.slice(100,255);
 	output["3"] = json.set[3].data_raw.slice(100,255);
 	output["4"] = json.set[4].data_raw.slice(100,255);
  
    //output["Reflectance"] = json.data_raw.slice(256,511);
}

//Return data
return output;
{
  "time": 1514493157827,
  "device_name": "MultispeQ",
  "device_version": "1",
  "device_id": "00:00:00:00",
  "device_battery": 40,
  "device_firmware": 1.2,
  "sample": [
    [
      {
        "time": 1514493157827,
        "light_intensity_raw": 0,
        "data_raw": [

        ],
        "protocol_id": 1,
        "set": [
          {
            "time": 1514493157830,
            "blank:": "blank"
          },
          {
            "time": 1514493157840,
            "data_raw": [
              7269,
              40542,
              40631,
              40561,
              40565,
              40563,
              40615,
              40570,
              40559,
              40577,
              40591,
              40643,
              40683,
              40619,
              40615,
              40565,
              40508,
              40589,
              40599,
              40623,
              40643,
              40621,
              40613,
              40617,
              40651,
              40647,
              40617,
              40603,
              40638,
              40617,
              40577,
              40578,
              40604,
              40586,
              40599,
              40571,
              40655,
              40699,
              40809,
              40849,
              40901,
              40902,
              40919,
              40957,
              41082,
              41219,
              41515,
              41961,
              42542,
              43460,
              44815,
              46183,
              47034,
              47509,
              47901,
              48135,
              48331,
              48447,
              48464,
              48327,
              48211,
              48009,
              47691,
              47303,
              46829,
              46179,
              45063,
              43917,
              43075,
              42431,
              42047,
              41735,
              41611,
              41529,
              41494,
              41411,
              41419,
              41399,
              41375,
              41195,
              41123,
              41016,
              40915,
              40851,
              40763,
              40685,
              40719,
              40653,
              40631,
              40599,
              40609,
              40614,
              40654,
              40648,
              40667,
              40670,
              40750,
              40857,
              41003,
              41093,
              41335,
              41583,
              41667,
              41749,
              41689,
              41595,
              41500,
              41321,
              41157,
              41006,
              40858,
              40811,
              40798,
              40694,
              40661,
              40655,
              40713,
              40719,
              40735,
              40853,
              41025,
              41075,
              41076,
              41152,
              41139,
              41187,
              41239,
              41239,
              41258,
              41279,
              41319,
              41299,
              41529,
              41694,
              41939,
              42123,
              42279,
              42339,
              42351,
              42323,
              42217,
              41981,
              41845,
              41765,
              41643,
              41578,
              41481,
              41353,
              41295,
              41199,
              41127,
              41001,
              40891,
              40867,
              40920,
              40866,
              40937,
              40899,
              40935,
              40909,
              40857,
              40801,
              40775,
              40815,
              40835,
              40763,
              40710,
              40735,
              40699,
              40719,
              40687,
              40669,
              40660,
              40716,
              40779,
              40726,
              40722,
              40761,
              40765,
              40734,
              40758,
              40773,
              40773,
              40755,
              40772,
              40782,
              40779,
              40833,
              40887,
              40931,
              40969,
              40955,
              40957,
              40971,
              40922,
              40859,
              40789,
              40754,
              40645,
              40629,
              40618,
              40607,
              40621,
              40557,
              40573,
              40527,
              40550,
              40550,
              40567,
              40582,
              40615,
              40583,
              40629,
              40583,
              40595,
              40531,
              40555,
              40617,
              40609,
              40567,
              40572,
              40565,
              40627,
              40589,
              40578,
              40551,
              40551,
              40550,
              40633,
              40591,
              40602,
              40524,
              40582,
              40547,
              40551,
              40497,
              40602,
              40591,
              40614,
              40570,
              40614,
              40551,
              40583,
              40609,
              40603,
              40594,
              40617,
              40594,
              40545,
              40529,
              40567,
              40553,
              40550,
              40373,
              39945,
              7594
            ]
          },
          {
            "time": 1514493158161,
            "data_raw": [
              7266,
              7795,
              7782,
              7783,
              7801,
              7791,
              7773,
              7775,
              7789,
              7795,
              7772,
              7782,
              7781,
              7823,
              7781,
              7771,
              7772,
              7771,
              7779,
              7771,
              7769,
              7779,
              7783,
              7811,
              7813,
              7839,
              7848,
              7870,
              7935,
              8027,
              8121,
              8311,
              8597,
              9034,
              9698,
              10707,
              12090,
              13982,
              16453,
              19627,
              23555,
              28513,
              36617,
              47236,
              47791,
              48079,
              48209,
              48183,
              48043,
              47821,
              47351,
              45211,
              32655,
              27481,
              23537,
              20349,
              17759,
              15814,
              14481,
              13510,
              12780,
              12087,
              11365,
              10692,
              10098,
              9626,
              9300,
              9012,
              8779,
              8553,
              8434,
              8295,
              8190,
              8131,
              8063,
              8025,
              7981,
              7967,
              7897,
              7881,
              7865,
              7827,
              7813,
              7829,
              7788,
              7794,
              7793,
              7789,
              7828,
              7885,
              7926,
              7979,
              7983,
              7957,
              7913,
              7877,
              7817,
              7815,
              7790,
              7781,
              7751,
              7771,
              7779,
              7769,
              7795,
              7759,
              7763,
              7772,
              7793,
              7813,
              7821,
              7835,
              7851,
              7847,
              7867,
              7850,
              7842,
              7830,
              7829,
              7850,
              7856,
              7893,
              7940,
              8022,
              8140,
              8214,
              8270,
              8245,
              8173,
              8103,
              8058,
              7984,
              7962,
              7958,
              7923,
              7919,
              7901,
              7859,
              7842,
              7832,
              7821,
              7817,
              7814,
              7782,
              7802,
              7794,
              7788,
              7788,
              7789,
              7787,
              7783,
              7790,
              7769,
              7773,
              7776,
              7743,
              7765,
              7758,
              7741,
              7750,
              7735,
              7743,
              7739,
              7728,
              7739,
              7734,
              7738,
              7733,
              7728,
              7721,
              7738,
              7719,
              7736,
              7730,
              7739,
              7729,
              7731,
              7747,
              7735,
              7771,
              7742,
              7738,
              7746,
              7735,
              7716,
              7725,
              7701,
              7712,
              7695,
              7705,
              7707,
              7694,
              7676,
              7676,
              7693,
              7703,
              7711,
              7687,
              7687,
              7687,
              7678,
              7688,
              7673,
              7711,
              7695,
              7691,
              7687,
              7693,
              7670,
              7691,
              7682,
              7710,
              7683,
              7684,
              7699,
              7699,
              7704,
              7683,
              7706,
              7704,
              7687,
              7671,
              7689,
              7695,
              7681,
              7692,
              7695,
              7684,
              7700,
              7687,
              7681,
              7699,
              7682,
              7715,
              7715,
              7680,
              7691,
              7705,
              7695,
              7690,
              7699,
              7685,
              7681,
              7724,
              7609,
              7474,
              7451,
              7453,
              7439,
              7443,
              7455,
              7462,
              7447,
              7462,
              7458,
              7448
            ]
          },
          {
            "time": 1514493158482,
            "data_raw": [
              7270,
              7974,
              7953,
              7965,
              7934,
              7957,
              7915,
              7928,
              7957,
              8017,
              8090,
              8189,
              8276,
              8294,
              8310,
              8220,
              8159,
              8099,
              8082,
              8037,
              8017,
              8018,
              7995,
              7957,
              7923,
              7907,
              7892,
              7891,
              7865,
              7875,
              7873,
              7869,
              7877,
              7879,
              7888,
              7879,
              7847,
              7893,
              7888,
              7885,
              7889,
              7898,
              7925,
              7961,
              8017,
              8089,
              8249,
              8459,
              8778,
              9210,
              9829,
              10633,
              11663,
              12938,
              14544,
              16541,
              19019,
              21869,
              24675,
              26728,
              27290,
              26111,
              23654,
              20646,
              17887,
              15729,
              14050,
              12754,
              11660,
              10708,
              9963,
              9412,
              9063,
              8793,
              8594,
              8457,
              8321,
              8211,
              8137,
              8087,
              8023,
              7983,
              7943,
              7945,
              7887,
              7876,
              7860,
              7843,
              7846,
              7829,
              7822,
              7831,
              7803,
              7799,
              7788,
              7797,
              7788,
              7802,
              7784,
              7785,
              7795,
              7803,
              7812,
              7835,
              7830,
              7841,
              7845,
              7836,
              7812,
              7820,
              7771,
              7787,
              7805,
              7795,
              7779,
              7789,
              7794,
              7781,
              7777,
              7809,
              7822,
              7817,
              7828,
              7837,
              7828,
              7826,
              7854,
              7799,
              7811,
              7786,
              7801,
              7717,
              7535,
              7535,
              7558,
              7566,
              7615,
              7621,
              7647,
              7665,
              7639,
              7631,
              7619,
              7593,
              7582,
              7570,
              7562,
              7558,
              7550,
              7551,
              7557,
              7562,
              7532,
              7525,
              7516,
              7528,
              7525,
              7508,
              7503,
              7527,
              7527,
              7509,
              7530,
              7513,
              7514,
              7516,
              7510,
              7502,
              7505,
              7499,
              7501,
              7488,
              7516,
              7511,
              7500,
              7492,
              7499,
              7517,
              7501,
              7511,
              7491,
              7499,
              7487,
              7520,
              7494,
              7495,
              7509,
              7492,
              7489,
              7519,
              7501,
              7522,
              7513,
              7507,
              7514,
              7513,
              7518,
              7511,
              7499,
              7500,
              7528,
              7505,
              7497,
              7495,
              7494,
              7493,
              7485,
              7499,
              7492,
              7495,
              7495,
              7485,
              7497,
              7494,
              7492,
              7492,
              7494,
              7477,
              7492,
              7500,
              7474,
              7482,
              7489,
              7488,
              7501,
              7493,
              7479,
              7492,
              7478,
              7497,
              7495,
              7505,
              7485,
              7492,
              7491,
              7498,
              7501,
              7493,
              7492,
              7483,
              7492,
              7475,
              7495,
              7485,
              7492,
              7491,
              7495,
              7492,
              7476,
              7492,
              7482,
              7494,
              7479,
              7476,
              7503,
              7491
            ]
          },
          {
            "time": 1514493158897,
            "data_raw": [
              7271,
              8601,
              8611,
              8563,
              8509,
              8413,
              8341,
              8300,
              8250,
              8231,
              8194,
              8177,
              8194,
              8173,
              8171,
              8169,
              8159,
              8177,
              8173,
              8181,
              8177,
              8182,
              8202,
              8197,
              8198,
              8191,
              8193,
              8227,
              8223,
              8230,
              8231,
              8243,
              8259,
              8268,
              8281,
              8318,
              8324,
              8365,
              8412,
              8485,
              8585,
              8773,
              9044,
              9438,
              10036,
              11017,
              12507,
              14819,
              18181,
              22997,
              35068,
              45816,
              46550,
              46919,
              47305,
              47583,
              47857,
              48039,
              48188,
              48255,
              48218,
              48103,
              47958,
              47792,
              47571,
              47327,
              47074,
              46779,
              46327,
              45653,
              35483,
              25277,
              21293,
              18565,
              16585,
              15052,
              13807,
              12797,
              11964,
              11325,
              10784,
              10349,
              10004,
              9703,
              9428,
              9210,
              9055,
              8905,
              8813,
              8719,
              8631,
              8566,
              8489,
              8452,
              8408,
              8344,
              8328,
              8295,
              8292,
              8268,
              8315,
              8359,
              8523,
              8677,
              8807,
              8853,
              8802,
              8667,
              8535,
              8421,
              8305,
              8231,
              8196,
              8211,
              8193,
              8203,
              8177,
              8193,
              8190,
              8223,
              8250,
              8300,
              8349,
              8395,
              8419,
              8460,
              8458,
              8431,
              8447,
              8420,
              8406,
              8399,
              8419,
              8458,
              8555,
              8715,
              8995,
              9310,
              9550,
              9671,
              9623,
              9442,
              9226,
              9033,
              8902,
              8804,
              8747,
              8665,
              8613,
              8563,
              8491,
              8396,
              8329,
              8308,
              8275,
              8229,
              8247,
              8241,
              8232,
              8247,
              8243,
              8229,
              8205,
              8180,
              8172,
              8179,
              8171,
              8142,
              8145,
              8142,
              8114,
              8102,
              8109,
              8098,
              8098,
              8092,
              8079,
              8088,
              8072,
              8074,
              8073,
              8070,
              8074,
              8057,
              8053,
              8044,
              8043,
              8035,
              8053,
              8084,
              8054,
              8100,
              8103,
              8151,
              8112,
              8101,
              8089,
              8042,
              8036,
              7993,
              7965,
              7951,
              7955,
              7953,
              7957,
              7953,
              7938,
              7916,
              7927,
              7949,
              7937,
              7945,
              7921,
              7941,
              7950,
              7928,
              7938,
              7933,
              7930,
              7942,
              7933,
              7945,
              7926,
              7932,
              7923,
              7930,
              7914,
              7919,
              7918,
              7921,
              7925,
              7914,
              7940,
              7915,
              7907,
              7922,
              7921,
              7917,
              7910,
              7930,
              7921,
              7925,
              7917,
              7913,
              7911,
              7911,
              7910,
              7919,
              7914,
              7923,
              7920,
              7918,
              7902,
              7916,
              7932,
              7910
            ]
          }
        ]
      }
    ]
  ],
  "app_os": "win32-10.0.16299",
  "app_name": "PhotosynQ",
  "app_version": "0.0.31",
  "app_device": "ia32",
  "location": [
    "42.7243050",
    "-84.4796047"
  ],
  "time_offset": "America/New_York"
}
Img 20161024 131107688 hdr
Created by

Christopher


Protocol connections:
1
Latest Update:
Dec 2017