Get Experiment Information

Copy
mic.dyn_chem_experiment(exp_num, sec_num=0, item=''):

  Get data associated with the indexed experiment

  Keyword arguments:

    exp_num    --- The index of the experiment to acquire
                   information for.  Indexing begins at 1

    sec_num    --- If zero, the primary experiment data is returned.
                   If greater than zero, returns associated secondary
                   experiment if any (typically these are mass specs).

    item       --- the specific experiment property to return
                   information on.  If '' or None, then return
                   the whole experiment dictionary

  Usage:

    exp = mic.dyn_chem_experiment(exp_num = 1)
    ms1 = mic.dyn_chem_experiment(exp_num = 1, sec_num = 1)
    expid = mic.dyn_chem_experiment(exp_num = 1, item = 'id')
    temp = mic.dyn_chem_experiment(exp_num = 1, item = 'temperature')

mic.dyn_chem_experiment_all():

  Return a dictionary of all experiments. The key is the experiment
  number, the value is a dictionary with keys from 0 (primary experiment
  data) through n where n is the number of secondary experiments (e.g.,
  mass spec data).