Get Metal Composition for Chemisorption

Copy
mic.metal_composition(metal='', metal_property='', sample_number=0):

Get information about the active metals in this sample

Keyword arguments:

  metal           --- the metal to return information about
                      if '' or None, then return a list of the
                      active metals

  metal_property  --- the specific property to return information on
                      if '' or None, then return all the properties
                      for the specified metal (requires metal to be
                      specified)

  sample_number --- Identifier for the metal data to retrieve
                    0           : current sample file (default)
                    1 through 8 : corresponding overlay sample file

Usage:

  metal_list  = mic.metal_composition()
  copper_prop = mic.metal_composition('copper')
  copper_perc = mic.metal_composition('copper',
                                      'percent of sample mass')

In the above first usage case, the list of active metals is returned.
In the above second usage case, a python dictionary type
is returned which includes all the properties of the metal
available and their corresponding values.  The last case returns
a single value (int, float, or string) for the specified property.

The metal_property keywords which one can use are

  atomic weight
  oxygen atoms
  density
  percent of sample mass
  metal atoms
  cross sectional area
  percent reduced
  stoichiometry GASNAME

where in the last keyword one substitutes the desired gas name to
obtain its stoichiometry factor.  One can also make the call
metal_composition(metalname) without any metal_property keyword
provided to see the whole dictionary of keywords and values.