Acquire Basic Information for Physical Adsorption

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.

import mic

prel, qads, n_ads, ambient_fs, analysis_fs, mass, desc = mic.isotherm('rel')
mic.graph( 'Graphical Report 1', 'Rel. Press', 'Quantity Adsorbed' )
mic.graph.add( 'Sample isotherm', prel, qads )

pabs, qads, n_ads, ambient_fs, analysis_fs, mass, desc = mic.isotherm('abs')

mic.graph( 'Graphical Report 2' 'Abs. Press', 'Quantity Adsorbed')
mic.graph.add('Sample Isotherm', pabs, qads)

mass = mic.sample_information('sample mass' )
Tanl = mic.sample_information('analysis temperature' )
dens = mic.sample_information('sample density')

mic.summary( "Sample Information" )
mic.summary.add( "Sample Information:",
                 [ "Number of adsorption points:",
                   "Ambient Free space:",
                   "Analysis Free space:" ,
                    "Sample mass (g):",
                    "Description:",
                    "Analysis Temp:",
                    "Sample Density (g/cm^3):" ],
                 [ "%8.3f" % n_ads,
                   "%8.3f" % ambient_fs,
                   "%8.3f" % analysis_fs,
                   "%8.3f" % mass,
                   desc,
                   "%8.3f" % Tanl,
                   "%8.3f" % dens ] )

csa, hsd, dcf, mol_weight, analysis_gas = mic.adsorptive_data()

mic.summary.add( "Adsorptive Data",
                 [ "Cross Sectional Area",
                   "Hard Sphere Diameter",
                   "Density Conversion Factor",
                   "Molecular Weight",
                   "Analysis gas"],
                 [ "%8.3f" % csa,
                   "%8.3f" % hsd,
                   "%8.3f" % dcf,
                   "%8.3f" % mol_weight,
                   analysis_gas  ]  )

Note the calls to mic.isotherm and mic.adsorptive_data above are each returning results as a list with elements of varying return type.

 
   Micromeritics Learning Center    Contact Us

Copyright © 2014 - 2018. Micromeritics Instrument Corporation. All rights reserved.