Skip to content

Remove read_ADC for VMUX30 in ADC CLIBRATION

In ADC-CALIBRATION, we do read_sdc() for all v_mux values, as shown below from ADC CALIBRATION line 113-122:

for i, vmux_value in enumerate(MonitorV):
                yr.set_mux(
                    chip_position=chip,
                    v_mux=MonitorV[i],
                    reset_other_chips=adc_calib_config["share_vmux"],
                )
                v_mea[chip][f"Vmux{vmux_value}"] = [meter.measure_dcv()[0]]
                v_mea[chip][f"ADC_Vmux{vmux_value}"] = [
                    int(yr.read_adc(MonitorV[i], chip_position=chip, rawCounts=True)[0])
                ]

The vmux_value includes Vmux8 and Vmux30 as shown in the qc_config

As a result, we measure ADC_Vmux30, which is always 0, and is not used for the analysis. We should remove this.