
# 'module_name': {chip ID : {'settingname': 'settingvalue', 'name2': 'value2', ...}}, 'mod2': .......}
chip_settings = {
'mod3': {
    0: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    1: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    2: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    3: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        }
    },


'mod4': {
    0: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '25',
        'VOLTAGE_TRIM_ANA': '15'
        },
    1: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    2: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    3: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        }
    },


'mod6': {
    0: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    1: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    2: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        }
    },


'mod7': {
    0: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '25',
        'VOLTAGE_TRIM_ANA': '22'
        },
    1: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '25',
        'VOLTAGE_TRIM_ANA': '15'
        },
    2: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '23',
        'VOLTAGE_TRIM_ANA': '22'
        },
    3: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '20',
        'VOLTAGE_TRIM_ANA': '18'
        }
    },


'mod9': {
    0: {
        'Vthreshold_LIN': '362',
        'VOLTAGE_TRIM_DIG': '28',
        'VOLTAGE_TRIM_ANA': '18'
        },
    1: {
        'Vthreshold_LIN': '351',
        'VOLTAGE_TRIM_DIG': '26',
        'VOLTAGE_TRIM_ANA': '13'
        },
    2: {
        'Vthreshold_LIN': '359',
        'VOLTAGE_TRIM_DIG': '28',
        'VOLTAGE_TRIM_ANA': '15'
        },
    3: {
        'Vthreshold_LIN': '348',
        'VOLTAGE_TRIM_DIG': '26',
        'VOLTAGE_TRIM_ANA': '16'
        }
    },


'mod10': {
    0: {
        'Vthreshold_LIN': '369',
        'VOLTAGE_TRIM_DIG': '26',
        'VOLTAGE_TRIM_ANA': '20'
        },
    1: {
        'Vthreshold_LIN': '360',
        'VOLTAGE_TRIM_DIG': '27',
        'VOLTAGE_TRIM_ANA': '16'
        },
    2: {
        'Vthreshold_LIN': '372',
        'VOLTAGE_TRIM_DIG': '25',
        'VOLTAGE_TRIM_ANA': '16'
        },
    3: {
        'Vthreshold_LIN': '366',
        'VOLTAGE_TRIM_DIG': '28',
        'VOLTAGE_TRIM_ANA': '16'
        }
    },


'mod11': {
    0: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '29',
        'VOLTAGE_TRIM_ANA': '17'
        },
    1: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '29',
        'VOLTAGE_TRIM_ANA': '15'
        },
    2: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '27',
        'VOLTAGE_TRIM_ANA': '18'
        },
    3: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '27',
        'VOLTAGE_TRIM_ANA': '18'
        }
    },


'mod12': {
    0: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    1: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    2: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    3: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        }
    },


'modT01': {
    0: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '31',
        'VOLTAGE_TRIM_ANA': '18'
        },
    1: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '26',
        'VOLTAGE_TRIM_ANA': '14'
        },
    2: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '28',
        'VOLTAGE_TRIM_ANA': '12'
        },
    3: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        }
    },


'modT02': {
    0: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    1: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    2: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    3: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        }
    },


'modT03': {
    0: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    1: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    2: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    3: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        }
    },


'modT04': {
    0: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    1: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    2: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        },
    3: {
        'Vthreshold_LIN': '400',
        'VOLTAGE_TRIM_DIG': '16',
        'VOLTAGE_TRIM_ANA': '16'
        }
    },



}
