prsctrl.prsctrl_interactive.pump_power_calibration#

pump_power_calibration(device: LedController | Laser, wavelength_nm: float, n_steps=15, **kw)[source]#

Perform pump power calibration, plot results and interactively set method and name.

Parameters:
  • device – Supported light source, either a laser or led.

  • wavelength_nm – The wavelength in nm at which the light is emitted.

  • max_laser_power_mW – Maximum laser power in mW to apply, if a laser is given.

  • max_led_current_A – Maximum LED current in A to apply, if a LED is given.

  • n_steps – Number of measurements to take.

  • beam_area_cm2 – The beam area in cm^2. If the beam is larger than the detector, use the active detector area.

  • steps – Optional list of laser powers in mW or current densities in A to probe. Providing this value overrides n_steps, max_laser_power_mW and max_led_current_A.