Acquiring the results from a pore-distribution report such as the BJH method is done in a similar
way as in the previous script except the return values from the mic.report call are slightly different
since they involve lists of data. For example:
1 import mic
2 import numpy as np
3
4 xdat, ydat, desc = mic.report('bjhads', 'incremental distribution'
)
5 if not (np.isnan(xdat[0]) or np.isnan(ydat[0])): # NaN indicates BJH
calculation error.
6 mic.graph('BJH Adsorption/Desorption', 'Pore Diameter (Å)',
'Incremental Volume (cm³/g)' )
7 mic.graph.add(desc, xdat, ydat )
The result is:
Acquire Report Results
TriStar II Plus Operator Manual
303-42800-01 (Rev M ) — Sep 2023
A - 13