catalight.analysis.run_plot_chromatograms_stacked.get_user_inputs

catalight.analysis.run_plot_chromatograms_stacked.get_user_inputs(starting_dir=None)

Prompt user to enter select directory and choose .asc files from it.

Opens 3 UI screens. Prompts user for directory, then displays .asc files within that directory and asks user to click the ones to plot and provide a data label, finally opens a UI to ask for plotting options (baseline correction and figure size)

Parameters:

starting_dir (str, optional) – Directory to start file dialog in. The default is None.

Returns:

  • file_list (list of str) – List of files selected by user.

  • data_labels (list of str) – List of data labels provided by user for plot legend.

  • response_dict (dict) – Dictionary of user plot options. Dict Keys depend on options proved to PlotOptionsDialog. {‘basecorrect’: bool, ‘figsize’: tuple}