Lines Matching refs:pidx
283 for pidx in range(num_channels):
284 for iso, s_measured, o_measured in measured_models[pidx]:
285 iso_pidx_to_measured_model_dict[(iso, pidx)] = (s_measured, o_measured)
304 for pidx in range(num_channels):
305 means_p = means[pidx]
306 vars_p = vars_[pidx]
309 subplots[pidx].plot(
320 stats_per_plane[pidx].extend(list(zip(means_p, vars_p)))
325 for pidx in range(num_channels):
327 s_model = scale_a[pidx] * iso * digital_gain + scale_b[pidx]
328 o_model = (offset_a[pidx] * iso_sq + offset_b[pidx]) * digital_gain_sq
330 plot_color = _PLOT_COLORS[pidx]
331 subplots[pidx].plot(
341 if (iso, pidx) not in iso_pidx_to_measured_model_dict:
344 s_measured, o_measured = iso_pidx_to_measured_model_dict[(iso, pidx)]
346 subplots[pidx].plot(
355 subplots[pidx].set_xlim(xmin=0, xmax=xmax)
356 subplots[pidx].set_ylim(ymin=0, ymax=ymax)
357 subplots[pidx].legend()
364 self, pidx, plot, sens, measured_params, modeled_params): argument
374 color_channel = _COLOR_CHANNEL_NAMES[pidx]
378 plot_color = _PLOT_COLORS[pidx]
433 for pidx, measured_model in enumerate(measured_models):
438 scale_a, scale_b, offset_a, offset_b = noise_model[pidx]
449 s_plot, o_plot = s_plots[pidx // 4], o_plots[pidx // 4]
451 s_plot, o_plot = s_plots[pidx], o_plots[pidx]
454 pidx, s_plot, sens, s_measured, s_model)
456 pidx, o_plot, sens, o_measured, o_model)