def Min(rawd, interd, x=['Ewe(V)', 'I(A)', 'I(A)_LinSub']): if x == 'I(A)_LinSub': x = interd[x] else: x = rawd[x] return numpy.min(x)
def Min(rawd, interd, x=['Ewe(V)_E0', 'I(A)', 'I(A)_LinSub']): if x in rawd.keys(): x = rawd[x] else: x = interd[x] return numpy.min(x)