catalight.equipment.light_sources.nkt_collect_calibration.run_calibration

catalight.equipment.light_sources.nkt_collect_calibration.run_calibration(laser, bandpass, meter)

Execute calibration experiment.

Loops through power setpoints from 20 - 100% in steps of 20. Calls sweep_wavelengths() each time. Creates and returns plotted data.

Parameters:
Returns:

(calibration data, figure) A tuple containing the calibration experiment data in a dataframe and a figure of the plotted raw results.

Return type:

tuple(pandas.DataFrame, matplotlib.figure.Figure)