\(\renewcommand\AA{\text{Å}}\)
4. GSASII: GSAS-II GUI
The GSAS-II GUI is normally started using the G2.py file. This will “hack” the PythonPath, if needed, by adding the diectory containing the GSASII directory to the path, allowing GSASII to be run without installing it inside Python. The G2.py invokes the main() routine inside GSASIIGUI.py which actually starts the GUI.
When GSAS-II has been installed inside Python, either of these two commands is sufficient to start the GSAS-II GUI:
python -c "from GSASII.GSASIIGUI import main; main()"
python -m GSASII
For documentation on the main GUI routines see the GSAS-II GUI Components chapter.