Optimal Reference selection for StaMPs


I am just wondering if it possible to use the InSAR Stack Overview and Reference Selection tool in SNAP using GPT versus having to load all the images into a GUI and manually select this. The equation is provided in the manual, which might help recreate this to do it without gpt or snap, but if something already exists to do this with a command line tool that would be preferred.