odatse.scripts.plt_1D_histogram module#

odatse.scripts.plt_1D_histogram.find_files(data_dir)[source]#

Find all result files in the specified directory.

Parameters:

data_dir (str) – Directory to search for files.

Returns:

Sorted list of file paths matching the pattern.

Return type:

list

odatse.scripts.plt_1D_histogram.main()[source]#

Main function to generate 1D histograms from data files.

odatse.scripts.plt_1D_histogram.parse_options()[source]#

Parse command line arguments and configuration files.

Returns:

Dictionary containing all configuration options.

Return type:

dict

odatse.scripts.plt_1D_histogram.read_toml(input_filename)[source]#

Reads the TOML configuration file and extracts required parameters.

Parameters:

input_filename (str) – Path to the TOML configuration file.

Returns:

Contents of configuration file.

Return type:

dict

odatse.scripts.plt_1D_histogram.show_options(opt)[source]#

Display the current configuration options.

Parameters:

opt (dict) – Dictionary containing configuration options.