def get_sensitivity(self, name):
    sens = self.get_sensitivities()
    spec = sens.get(name)
    v = 1
    if spec:
        record = spec[(- 1)]
        v = record.get('sensitivity', 1)
    return v
def get_sensitivity(self, name):
    sens = self.get_sensitivities()
    spec = sens.get(name)
    v = 1
    if spec:
        record = spec[(- 1)]
        v = record.get('sensitivity', 1)
    return v