Useful CLI functions

Once the fast_rsm module has been loaded there are also some other useful functions made accessible

makesetup - use this to open up a template experiment_setup file, edit with your experiment information and then save to your preferred directory

makemask - use this to quickly make a mask for you processing. It will open up the pyFAI mask creation tool and load in the first image of your scan. From here you can use the GUI tools to draw on the desired mask and then save to a specified directory.

pyFAI-calib2 - use this to launch the pyFAI calibration tool which you can use to analyse your calibration data to create a PONI file - see the pyFAI documentation page on the calibration GUI for more details

get_setups - use this to get setup information used to calculate a hdf5 file. If the hdf5 file has the configuration saved to config, and it contains the joblines from the analysis job sent to the cluster - then you can type

get_setups -hf  path/to/hdf5file.hdf5   -outdir   path/to/out/directory

This will open up the hdf5 file, locate the joblines information, and then it will save a copy if this information and open exp_setup.py and calc_setup.py files with the information that was used to send off the analysis job