catalight.analysis.run_calibration.main

catalight.analysis.run_calibration.main(expt, calDF, figsize=(6.5, 4.5), forcezero=True)

Run analysis.tools.analyze_cal_data. Wrapped w/ Main for consistency.

Parameters:
  • expt (Experiment) – Experiment object for already run calibration experiment

  • calDF (pandas.DataFrame) – Formatted DataFrame containing gc calibration data. Specific to control file used! Format [ChemID, slope, intercept, start, end, ppm]

  • figsize (tuple, optional) – Desired size of output figure in inches (x,y), Default is (6.5, 4.5). figsize suggestions: 1/2 slide = (6.5, 4.5); 1/6 slide = (4.35, 3.25); 1/4 slide = (5, 3.65); Full slide = (9, 6.65);

  • force_zero (bool, optional) – Add point (x=0, y=0) to data set. The default is True.

Returns:

  • matplotlib.axes._axes.Axes – Axis handle for “run_num” plot

  • matplotlib.axes._axes.Axes – Axis handle for plots showing expected ppm vs measured counts