catalight.equipment.light_sources.nkt_verify_calibration.plot_verification

catalight.equipment.light_sources.nkt_verify_calibration.plot_verification(results, savedata=True)

Plot measured vs predicted values from randomized measurment test.

Parameters:
  • results (pandas.DataFrame) – Randomized power measurements with columns [‘center’, ‘bandwidth’, ‘requested_power’, ‘measured_power’]

  • savedata (bool, optional) – Whether or not to save the csv, svg, png for test, by default True

Returns:

Figure and Axis handles for plotted experiment

Return type:

tuple(matplotlib.figure.Figure, matplotlib.axes._axes.Axes)