© Copyright CNPEM 2015
Centro Nacional de Pesquisa em Energia e Materiais
Author: Rafael J. P. dos Santos
Intensity vs. Incoming energy vs. Emitted Energy
Intensity vs. Emitted Energy, for a fixed incoming energy
Total intensity (summed within the full range of detectable emission energy) vs. Incoming Energy
Main screen displaying experimental data
Last tested in 19 February 2021, using Debian Linux operating system.
It should be possible (although not tested) to run in Windows using third-party software.
This option is the easiest for trying out the software as it is.
-
Install docker (https://docs.docker.com/get-docker/)
-
Run the following command in the terminal, inside your experimental data directory:
docker run -v $(pwd)/:/var/app/data -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY rpagliuca/xds_vonhamos_preview_tool
- Optional: store the command above in a new file called
/usr/local/bin/von-hamos
- Grant execution permission by running the command
sudo chmod a+x /usr/local/bin/von-hamos
- This way, you can open the software by simplying calling
von-hamos
from within your experimental data directory
- Grant execution permission by running the command
This is the best option if you want to download the source code and customize the software.
-
Install
docker
(https://docs.docker.com/get-docker/) -
Install
docker-compose
(https://docs.docker.com/compose/install/) -
Install
git
-
Clone this git repository (https://docs.github.com/github/creating-cloning-and-archiving-repositories/cloning-a-repository)
-
Customize the file
docker-compose.yaml
with your own volumes of experimental data -
Run the following in the terminal, inside the cloned repository directory:
docker-compose up --build
You could give this a try (not tested nor endorsed!):
https://dev.to/darksmile92/run-gui-app-in-linux-docker-container-on-windows-host-4kde