A modern, high-performance Streamlit-based web graphical user interface for raw MIB data conversion and Slurm cluster job submission at ePSIC.
This application replaces the older Jupyter-notebook-based ipywidgets interface with a clean, web-based workflow, grouping tasks into logical pages:
- MIB to HDF5 Conversion: Submitting raw MIB files for cluster conversion to HDF5.
- Virtual Images (py4DSTEM): Creating virtual images and viewing metadata of converted HDF5 files.
- Ptychography (PtyREX): Generating PtyREX configurations, dynamically editing parameters, and submitting batch/single reconstruction jobs to the GPU cluster.
- Calibration & Transformation: Running automatic gold diffraction ring calibration and polar-elliptical coordinate transformations.
To install the package in editable mode:
pip install -e .Once the package is installed, you can start the GUI from any directory by running:
epsic-guiAlternatively, you can run it directly using Streamlit without installing:
streamlit run app.pyThis will launch the app in your default browser (typically at http://localhost:8501).
Ensure your conda or python environment has the required packages installed:
streamlithyperspypy4DSTEMh5pynbformatpyyamlpandasnumpyscipymatplotlibscikit-learn