Lines Matching refs:np
26 import numpy as np namespace
138 means_p = np.asarray(means_p).flatten()
139 vars_p = np.asarray(vars_p).flatten()
196 sens = np.asarray([e[0] for e in measured_models[pidx]])
197 sens_sq = np.square(sens)
200 gains = np.asarray([s[0] for s in samples[pidx]])
201 means = np.asarray([s[1] for s in samples[pidx]])
202 vars_ = np.asarray([s[2] for s in samples[pidx]])
210 digital_gains = np.maximum(gains/sens_max_analog, 1)
211 assert np.all(digital_gains == 1)
229 C_p*sens_sq + D_p*np.square(np.maximum(sens/sens_max_analog, 1))