This project contains GUIs to help with analysis of surface x-ray diffraction data, for use alongside the analysis software ROD
To load up GUI, download the structureplot.py file and structuregui.ui and then change line 25 in structureplot.py with hardcoded filepath for UI file
e.g. self.ui = uic.loadUi(r"######\structuregui.ui", self)
where ##### is the directory the ui file is saved.
Then run the structureplot.py file in python.
If you are using anaconda package and there is a clash of module versions, you can try creating a new environment called 'plotting' for running the GUI by entering the following commands:
conda create --name plotting python=3.7
conda activate plotting
conda install numpy
conda install pandas
conda install matplotlib
currently works with module versions:
#pandas 1.5.2 py311hf63dbb6_2 conda-forge
#numpy 1.24.1 py311h95d790f_0 conda-forge
#matplotlib 3.6.2 py311h1ea47a8_0 conda-forge