Get Sample Information Item

Copy
mic.sample_information( item, sample_number = 0 ):

Keyword arguments:

  item          --- string identifying the item to be returned.
                    For example; 'sample mass', or 'sample description'
                    The default is an empty string for which the return
                    value is a list of all available keywords

  sample_number --- Sample to retrieve
                    0           : current sample file (default)
                    1 through 8 : corresponding overlay sample file

Usage:

  all_keywords = sample_information()
  mass         = sample_information('sample mass')
  mass         = sample_information('sample mass',0)