Lines Matching refs:np
32 import numpy as np namespace
124 iso_sq_values = np.linspace(iso_low**2, iso_high**2, _LINEAR_FIT_NUM_SAMPLES)
161 y_values = np.array(
165 x_ticks = np.linspace(iso_low**2, iso_high**2, _PLOT_AXIS_TICKS)
166 y_ticks = np.linspace(np.min(y_values), np.max(y_values), _PLOT_AXIS_TICKS)
217 mean = np.mean(channel_img[:, :, ch])
218 var = np.var(channel_img[:, :, ch])
260 coeffs = np.polyfit(iso_sq, norm_var, 1)
265 read_noise_coefficients_a = np.asarray(read_noise_coefficients_a)
266 read_noise_coefficients_b = np.asarray(read_noise_coefficients_b)
370 img = np.ndarray(
373 img = img.astype(dtype=np.uint16).reshape(h, w)
380 np.mean(img), np.var(img), np.min(img), np.max(img))