catalight.analysis.plotting.plot_ppm
- catalight.analysis.plotting.plot_ppm(expt, calDF, mole_bal='c', switch_to_hours=2)
Plot average concentration in ppm for each molecule vs reaction condition.
- Parameters:
expt (Experiment) – Experiment object which has data and has been analyzed (i.e. has avg_conc.csv etc.)
concentrations (numpy.ndarray) – 3D matrix of concentrations for each molecule, gc collection, and condition [Condition x [Timestamps, ChemID] x run number
calDF (pandas.DataFrame) – Formatted DataFrame containing gc calibration data. Specific to control file used! Format [ChemID, slope, intercept, start, end]
mole_bal (str, optional) – Code will perform a mole balance for the element provided. The default is ‘c’. (i.e. carbon balance)
switch_to_hours (float, optional) – Time in hours when the output should switch units to hours instead of minutes. The default is 2.
- Returns:
Figure and Axis handle for “ppm” plot
- Return type: