blob: e43aaf843450dd7ec58b3590bbb8e9b6550d461c [file] [log] [blame]
import openhtf as htf
from openhtf.util.validators import *
import numpy as np
def get_criteria(criterion):
criteria_dict = {
"dc_gain" : htf.Measurement('dc_gain').in_range(minimum=50),
"unity_bandwidth" : htf.Measurement('unity_bandwidth').in_range(minimum=1e6)
}
return criteria_dict[criterion]