ewoksid22.id22sum

Script for batch runs with id22sum and id22sumall: processes powder diffraction data from a multianalyser instrument

Fortran source code: https://github.com/jonwright/id31sum

Written by Ola G. Grendal @ ID22 ESRF

Functions

epilog_msg([name])

Function for re-defining the usage-message when no and/or wrong input is given

execute_cmd(cmd, wd)

find_h5_files(user_str)

generate_sum_cmd(program, programdir, ...[, ...])

Fortran sum program command

get_all_scans_h5(file_path)

main([argv])

new_bin(question)

Retrieve new binsize

parse_scan_numbers(first_scan, last_scan[, ...])

Exclude scan numbers: exclude from start, missing from spec file, interactive prompt

plot_xy(filename, first_scan, last_scan, ...)

Reads XY data and plots it

read_h5(file_path[, entry])

Read h5-file and returns dict with data

removed_scans(question)

Retrieve scans to be removed

run(filename, binsize[, lowtth, scaling, ...])

save_spec(file_path, data, monav[, entry])

usage_msg([name])

Function for re-defining the usage-message when no and/or wrong input is given

yes_no(question)

Yes/no prompt.