catalight.equipment.light_sources.nkt_analyze_calibration.plot_fits
- catalight.equipment.light_sources.nkt_analyze_calibration.plot_fits(calibration_data, calibration, savedata=False)
Create a multiplot figure with fits to calibration data.
- Parameters:
calibration_data (pandas.DataFrame) – Raw calibration data for NKT system. Index is wavelength and headers are NKT power setpoint in %.
calibration (pandas.DataFrame) – Calibration fits for nkt_laser system. Fit parameters for each wavelength. Index is wavelength. Columns are [fit params, relative error, covariance matrix] Each item within the DataFrame is a list itself.
savedata (bool, optional) – Indicate whether to save results, by default False