catalight.equipment.light_sources.nkt_verify_calibration

Random sampling experiment to test last run calibration performance.

The main function of this script will coordinate an NKT system and compatible powermeter through a randomized verification experimtn in which the last run calibration is used to predict the power output of random laser conditions. Typically, this should be called by the nkt_system’s run_calibration() method.

Functions

generate_data(calibration, num_measurements, ...)

Request randomized conditions for laser system and record power output.

get_random_with_precision(min_val, max_val, ...)

Get a random value between min/max with "precision" points after decimal.

main(laser_system, meter)

Runs and analyzes calibration verification experiment.

plot_verification(results[, savedata])

Plot measured vs predicted values from randomized measurment test.