catalight.equipment.light_sources.nkt_helper_funcs.predict_power

catalight.equipment.light_sources.nkt_helper_funcs.predict_power(calibration, power_setpoint, center, bandwidth)

Determine the power output (mW) expected from the given laser conditions.

Takes in calibration and bandpass filter info to estimate the laser power output (in mW) that can be achieved by the provided power_setpoint values.

Parameters:
  • 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.

  • power_setpoint (int or float or list[float]) – The power setpoint (in %) the user desires. This can also be supplied as a pandas.DataFrame or numpy.array.

  • center (float or int) – The central wavelength of the laser.

  • bandwidth (float or int) – The bandwidth setting for the laser.

Returns:

The power output (in mW) expected from the given setpoint.

Return type:

float