catalight.analysis.run_change_xdata.get_user_inputs

catalight.analysis.run_change_xdata.get_user_inputs(starting_dir=None, cal_folder=None)

Get user inputs for changing x axis data.

Parameters:
  • starting_dir (str, optional) – Path to initialize file dialog in. The default is None.

  • cal_folder (str, optional) – Path containing calibration files. The default in None.

Returns:

  • file_list (list) – list of paths to expt_logs

  • calDF (pandas.DataFrame) – Formatted DataFrame containing gc calibration data. Specific to control file used! Format [ChemID, slope, intercept, start, end]

  • response_dict (dict) – Dictionary of user plot options. Dict Keys depend on options proved to PlotOptionsDialog. {‘xdata’: list, ‘units’: str, ‘reactant’: str, y’target_molecule’: str, ‘mole_bal’: str, ‘figsize’: tuple, ‘savedata’: bool, ‘switch_to_hours’: float}