Skip to content

Ensure all QC cut variables are stored in the anlaysis output json file

Variables missing from the analysis output json file:

I cross-checked what variables are saved to the analysis output json file and if they match the variables from the qc cuts file. I checked all electrical qc tests except for OVERVOLTAGE_PROTECTION and LONG_TERM_STABILITY_DCS, which I did not have analysis results for.

ANALOG READBACK

  "ANALOG_READBACK": {
    "AR_NOMINAL_SETTINGS": {
      "Iref": { "sel": [3.6e-6, 4.2e-6], "precision": 7 },
      "GADC": {
        "LZero": { "sel": [0.666, 0.985], "precision": 3 },
        "LOne": { "sel": [0.703, 0.924], "precision": 3 },
        "LTwo": { "sel": [0.703, 0.924], "precision": 3 }
      },
      "VcalDac": { "sel": [0.668, 0.987], "precision": 3 },
      "VrefCore": { "sel": [0.435, 0.49], "precision": 3 },
      "VrefOVP": { "sel": [1.857, 2.152], "precision": 3 }
    }

The AR_NOMINAL_SETTINGS variable is saved, but it is just a list with a bunch of keyless values.

DATA_TRANSMISSION

EYE_WIDTH0 is saved in analysis json, but the name should be changed to EYE_WIDTH in order to match the QC cuts file.

VCAL_CALIBRATION

VCAL_HIGH_SLOPE_SMALL_RANGE_RATIO and VCAL_MED_SLOPE_SMALL_RANGE_RATIO are QC cut variables that are not stored in the analysis output json file. Note that VCAL_HIGH_SLOPE_SMALL_RANGE and VCAL_MED_SLOPE_SMALL_RANGE are stored in the output.

MIN_HEALTH_TEST

None of the QC cut variables match a variable in the analysis output json file. The QC cuts are:

  "MIN_HEALTH_TEST": {
    "BAD_ANALOG_INTEGRATED": { "sel": [0, 153.6], "precision": 1 },
    "THRESHOLD_FAILED_FITS_INDEPENDENT": { "sel": [0, 1536], "precision": 0 },
    "HIGH_ENC_INDEPENDENT": { "sel": [0, 1536], "precision": 0 }
  },

and an example MHT analysis output json file has the following variables:

            "MIN_HEALTH_BAD_ANALOG": 0,
            "MIN_HEALTH_THRESHOLD_FAILED_FITS_INDEPENDENT": 3157,
            "MIN_HEALTH_HIGH_ENC_INDEPENDENT": 0

TUNING

All of the QC cut variables are in the analysis output json file, but they have an additional "TUNING_" prefix such that they do not identically match.

PIXEL_FAILURE_ANALYSIS

All of the QC cut variables are in the analysis output json file, but they have an additional "PIXEL_FAILURE_" prefix such that they do not identically match.