A Advanced Reports - Python Module
ACQUIRE OVERLAY SAMPLE DATA
The call to obtain overlay sample data is similar to the calls for the primary sample. This script
involves two overlay sample files.
The calls to obtain adsorptive data and report results for an overlay sample file using mic.report
and mic.adsorptive_data have a very similar interface as the mic.overlay call, and a summary of
their usage is shown in the example in this topic.
1 import mic
2
3 p, q, n, fsw, fsc, mass, desc = mic.isotherm('rel')
4 p1, q1, n1, fsw1, fsc1, mass1, desc1 = mic.overlay(1, 'rel')
5 p2, q2, n2, fsw2, fsc2, mass2, desc2 = mic.overlay(2, 'rel')
6
7 mic.graph('Three Sample Isotherms',
8 'Relative Pressure (P/Po)',
9 'Quantity Adsorbed (cm³/g STP)' )
10
11 mic.graph.add('Primary Isotherm', p, q )
12 mic.graph.add('Overlay Isotherm 1', p1, q1 )
13 mic.graph.add('Overlay Isotherm 2', p2, q2 )
14
15 mic.summary("A Summary Report" )
16
17 mic.summary.add("Two samples",
18 ["Primary sample:",
19 "Overlay sample 1:",
20 "Overlay sample 2:" ],
21 [desc,
22 desc1,
23 desc2 ] )
A - 14
TriStar II Plus Operator Manual
303-42800-01 (Rev M ) — Sep 2023