Micromeritics TRISTAR II PLUS Operator's Manual page 252

Surface area and porosity analyzer
Hide thumbs Also See for TRISTAR II PLUS:
Table of Contents

Advertisement

A Advanced Reports - Python Module
Tabular Report
If more than one column is required, the call mic.table is employed. This script produces a tabular
report consisting of two tables.
This script uses the Python package numpy and c-style formatting of the numerical
values.
11
import
mic
12
import
numpy
13
14
mic.table( "My Tables"
15
mic.table.addtable( "My Set A"
16
mic.table.addcolumn( "X", ["1.0", "2.0", "3.0"] )
17
mic.table.addcolumn( "Y", ["0.5", "1.0", "1.5"] )
18
x1 =
0.2
19
x2 =
0.5
20
x3 =
3.14159/2
21
mic.table.addtable( "My Set B"
22
mic.table.addcolumn( "X", ['{:8.3f}'.format(x1),
23
24
25
mic.table.addcolumn( "sin(X)", ['{:8.3f}'.format(np.sin(x1)),
26
27
28
mic.table.addcolumn( "cos(X)", ['{:8.3f}'.format(np.cos(x1)),
29
30
A - 8
as
np
)
'{:8.3f}'.format(x2),
'{:8.3f}'.format(x3)] )
)
)
'{:8.3f}'.format(np.sin(x2)),
'{:8.3f}'.format(np.sin(x3))] )
'{:8.3f}'.format(np.cos(x2)),
'{:8.3f}'.format(np.cos(x3))] )
TriStar II Plus Operator Manual
303-42800-01 (Rev M ) — Sep 2023

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TRISTAR II PLUS and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF