catalight.equipment.light_sources.nkt_analyze_calibration.plot_correction
- catalight.equipment.light_sources.nkt_analyze_calibration.plot_correction(calibration_data, predicted_values, corrected_values, savedata=False)
Plot the results of the determine_correction_factor() function.
- Parameters:
calibration_data (pandas.DataFrame) – Raw calibration data for NKT system. Index is wavelength and headers are NKT power setpoint in %.
predicted_values (pandas.DataFrame) – The predicted laser powers based on summing mW/nm values from cal data.
corrected_values (pandas.DataFrame) – Calibration data adjusted to best match predicted values.
savedata (bool, optional) – Whether or not to save correction plot, by default False