A Advanced Reports - Python Module
ACQUIRE BASIC INFORMATION
To acquire the adsorption isotherm and other basic information about the sample being edited, the
calls mic.isotherm, mic.sample_information, and mic.adsorptive_data are applied.
This script produces a graph of the adsorption and desorption isotherms for both relative and
absolute pressure, and prints summaries of the sample information and the adsorptive properties.
1 import mic
2
3 prel, qads, n_ads, warm_fs, cold_fs, mass, desc = mic.isotherm
('rel')
4 mic.graph('Graphical Report 1', 'Relative Pressure (P/Po)', 'Quant-
ity Adsorbed (cm³/g STP)' )
5 mic.graph.add('Sample Isotherm', prel, qads )
6
7 pabs, qads, n_ads, warm_fs, cold_fs, mass, desc = mic.isotherm
('abs')
8 mic.graph('Graphical Report 2', 'Absolute Pressure (mmHg)', 'Quant-
ity Adsorbed (cm³/g STP)' )
9 mic.graph.add('Sample Isotherm', pabs, qads )
10
11 mass = mic.sample_information('sample mass')
12 Tanl = mic.sample_information('analysis temperature')
13 dens = mic.sample_information('sample density')
14
15 mic.summary("Sample Information" )
16 mic.summary.add("Sample Information",
17 ["Number of adsorption points:",
18 "Warm free space:",
19 "Cold free space:",
20 "Sample mass:",
21 "Description:",
22 "Analysis temperature:",
23 "Sample density:" ],
A - 10
TriStar II Plus Operator Manual
303-42800-01 (Rev M ) — Sep 2023