Command-line interface ====================== ``eproducer`` exposes Python functions and shell scripts through a unified CLI. The general usage is:: eproducer [args...] To list all the commands, use:: eproducer -h Pass ``-h`` after a Python command to print its docstring:: eproducer -h Arguments of the Python commands -------------------------------- The arguments before the first ``--`` are passed to the function as positional arguments (strings). They are split at the spaces, so they must not contain spaces. Each ``-- `` is passed as a keyword argument whose value is evaluated as a Python expression when possible, and passed as a string otherwise. These values can contain spaces:: eproducer nrand_rad radicals.npz --n 2 --Nmin 5 --exclude "[1, 3]" eproducer extract_system_info PYD/ "[2.0062,2.0055,2.0022]" --orca_output model_epr.out Python commands --------------- g-value extraction and post-processing ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: none eproducer extract_gvals eproducer add_gval2npz eproducer extract_system_info [--orca_output ] eproducer create_table_per_system --experiment "[gx, gy, gz]" --systems "['/', ...]" [--orca_file ] eproducer create_table_per_method --data "" --experiment "[gx, gy, gz]" --methods "['', ...]" eproducer compute_bde --reactants "['', ...]" --products "['', ...]" Spectral fitting ~~~~~~~~~~~~~~~~ .. code-block:: none eproducer best_fit [files...] eproducer spect_w_experiment eproducer create_fit_file [experiment_file] [basis_pattern] [basis_location] eproducer mat2dat Structure utilities ~~~~~~~~~~~~~~~~~~~ .. code-block:: none eproducer ext_xyz_from_npz [--selection "[i, j, ...]"] [--create_xyz_files False] eproducer nrand_rad [--n ] [--Nmin ] [--entry ] [--exclude "[i, j, ...]"] eproducer heavya_idx_from_ref [engine] eproducer rad_loc [engine] eproducer iHFC_fromxyz eproducer bonds2npz eproducer molid2npz eproducer addfile2npz The documentation of each function is in :doc:`modules/eproducer`. Shell scripts ------------- .. code-block:: none eproducer gval_workflow [flags...] eproducer gval_dataset [flags...] eproducer gval_data_restart [flags...] eproducer extract_EPRspec [flags...] eproducer spectrum_from_gval [flags...] eproducer gval_postpro [flags...] eproducer extract_bonds_vmd eproducer gvals_template -path # template to copy, see the tutorial eproducer basics -path # path to basics.sh, sourced by the scripts above Add ``-path`` after the name of a script to print its path instead of running it. This is useful to submit it with ``sbatch`` or to pass values that contain spaces, because ``eproducer