Install Anaconda. Be sure to choose the Python 3.x version!
2. Open a terminal (on Windows, use the Anaconda prompt that gets installed with Anaconda) and type:
conda config --add channels conda-forge #This ensures that your conda is connected to the conda-forge channel where many pagkages live
conda create -n pyhat_gui # This creates a new environment named pyhat_gui. Substitute your preferred name if desired.
conda activate pyhat_gui #this activates the environment
conda install -c usgs-astrogeology ppsg # This installs the PyHAT Point Spectra GUI (ppsg) package from Anaconda
From the terminal type:
conda activate pyhat_gui # This activates the environment where the tool is installed
python -m point_spectra_gui # This runs the GUI
If you already have an earlier version of the PyHAT Point Spectra GUI installed as described above and you want to wipe it and update to the latest version, just do:
conda env remove -n pyhat_gui #removes the environment
conda clean -a #removes old cached versions of packages
And then follow the instructions above to install a fresh version.
Run into bugs or features that are missing? Let us know by reporting an issue!
- The UI's backend is designed and created in Python with the QT framework