ASAP 2460 Operator’s Manual
Appendix G
246-42800-01 - Aug 2013
G-1
G. "mic" MODULE FOR PYTHON SCRIPTED USER-DEFINED
REPORTS
The mic Python module allows you to access primary and overlay isotherm data and create graphical,
tabular, and summary reports. Graphical reports consist of a single graph with one or more curves on
one or two y-axes. Tabular reports consist of one or more tables consisting of one or more labeled col-
umns of data. Summary reports consist of summary sections, each containing a two-column table of
label and value pairs.
TABLE 1: Example Python Script for User-defined Reports
1. import mic
Import the mic (required) and
numpy (optional) packages.
2. import numpy as np
3. # Isotherms as list of components
4. # Isotherms as list of components
5. iso_rel = mic.isotherm('rel')
Get the isotherm data.
6. iso_abs = mic.isotherm('abs')
7. # or as components.
8. prel, qads, num_ads, warm_fs, cold_fs, mass, desc =
mic.isotherm('rel')
9. pabs, qads, num_ads, warm_fs, cold_fs, mass, desc =
mic.isotherm('abs')
10. # Overlays work the same way but are not guaranteed to be
valid.
11. overlays = []
Get the overlay isotherm data.
12. for i in range( 8 ) :
13. ov = mic.overlay(i, 'rel')
14. overlays.append( ov if ov[0].any() else None )
15. # A graphical report with 3 curves.
16. mic.graph( 'Graphical Report 1', 'Rel. Press', 'Qads' )
Add a graphical report.
17. mic.graph.add( 'Sample isotherm', prel, qads )
Add some curves to the report.
18. mic.graph.add( 'Linear transform', prel, qads * 4.0 + 1.0 )
19. mic.graph.addyy( 'Another transform', prel, np.log( qads *
qads ) )
20. # Another graphical report, this time with 1 curve
21. mic.graph( 'Graphical Report 2' )
Add another graphical report.
22. mic.graph.add( 'Sample isotherm', pabs, qads )
23. # A tabular report with 2 tables.
24. mic.table()
Add a tabular report.
25. mic.table.addtable( "Table 1" )
Add a table to the report.
Содержание ASAP 2460
Страница 4: ......
Страница 12: ...Table of Contents ASAP 2460 Operator s Manual viii 246 42800 01 Nov 2013...
Страница 30: ...Using the Software ASAP 2460 Operator s Manual 1 18 246 42800 01 Aug 2013...
Страница 93: ...ASAP 2460 Operator s Manual Generating Graph Overlays 246 42800 01 Aug 2013 2 63...
Страница 94: ...Generating Graph Overlays ASAP 2460 Operator s Manual 2 64 246 42800 01 Aug 2013...
Страница 202: ...Service Test ASAP 2460 Operator s Manual 4 36 246 42800 01 Aug 2013...
Страница 230: ...Report Examples 2460 Operator s Manual 5 28 246 42800 01 Aug 2013 Isotherm Linear Plot...
Страница 231: ...2460 Operator s Manual Report Examples 246 42800 01 Aug 2013 5 29 BET Surface Area Report...
Страница 232: ...Report Examples 2460 Operator s Manual 5 30 246 42800 01 Aug 2013 BET Surface Area Plot...
Страница 233: ...2460 Operator s Manual Report Examples 246 42800 01 Aug 2013 5 31 t Plot Report...
Страница 234: ...Report Examples 2460 Operator s Manual 5 32 246 42800 01 Aug 2013 BJH Adsorption Cumulative Pore Volume...
Страница 235: ...2460 Operator s Manual Report Examples 246 42800 01 Aug 2013 5 33 BJH Desorption Cumulative Pore Volume...
Страница 236: ...Report Examples 2460 Operator s Manual 5 34 246 42800 01 Aug 2013...
Страница 242: ...Service Test Mode 2460 Operator s Manual 6 6 246 42800 01 Aug 2013...
Страница 270: ...Calibrating the System ASAP 2460 Operator s Manual 7 28 246 42800 01 Aug 2013...
Страница 276: ...Ordering Information ASAP 2460 Operator s Manual 8 6 246 42800 01 Aug 2013...
Страница 278: ......
Страница 280: ......
Страница 374: ...Appendix C ASAP 2460 Operator s Manual C 50 246 42800 01 Aug 2013...
Страница 398: ...Appendix F ASAP 2460 Operator s Manual F 18 246 42800 01 Aug 2013...
Страница 412: ...Index ASAP 2460 Operator s Manual Index 8 246 42800 01 Aug 2013...
Страница 413: ...ASAP 2460 Operator s Manual Appendix G Aug 2013 SVP 1 SVP Smart VacPrep Operator Manual...
Страница 414: ...Appendix G ASAP 2460 Operator s Manual SVP 2 Aug 2013...
Страница 415: ...OPERATOR MANUAL Smart VacPrep Operator Manual Nov 2013 SMART VACPREP INTELLIGENT VACUUM SAMPLE PREPARATION SYSTEM...
Страница 422: ...Contact Us vi Smart VacPrep Operator Manual...
Страница 432: ...2 About the Software 2 4 Smart VacPrep Operator Manual...
Страница 466: ...8 Error Messages 8 4 Smart VacPrep Operator Manual...