Record a python script while performing the study manually in the GUI.
Edit the script and insert a loop to perform the incremental change.