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)

execute_sum(programdir, filename, binsize, ...)

Execute id22sumalle and id22sume

find_h5_files(user_str)

generate_cmd(program, programdir, filename, ...)

Fortran sum program command

generate_es(first_scan, last_scan, *args)

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

get_all_scans_h5(file_path)

main([argv])

new_bin(question)

Retrieve new binsize

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.