Skip to content

A graphical user interface (GUI) for Dual Space sparse data

License

Notifications You must be signed in to change notification settings

ercius/DuSC_explorer

Repository files navigation

Dual Space Crystallography Explorer (DuSC_explorer)

A graphical user interface based on stempy and pyqtgraph to visualize sparse 4D-STEM data sets.

Installation

Using pip

The easiest way to install is to use python's pip command:

  • (Optional) Set up a virtual environment (e.g. using conda)
  • Run $ pip install DuSC_explorer at a command prompt

From source

If you want to develop or get the newest changes:

  • Clone the repository using git.
  • Change directories to the base directory containing the pyproject.toml file
  • Install locally and editable using bash $ pip install -e .

Compatibility

This program requires pyqtgraph >=0.13. You may also need to install different versions of QT depending on your operating system. Python 3.9 and PyQt6 have been tested to work as specified in the table on the pyqtgaph Github README

Running the program

If you installed using pip or from source (see above) then you can run

$ DuSC_explorer

in a terminal or command prompt in the correct virtual environment and the GUI should start.

Alternatively, in a python interpreter for the correct environment you can run these commands to start the GUI:

>>> import DuSC_explorer
>>> DuSC_explorer.open_file()

GUI example

About

A graphical user interface (GUI) for Dual Space sparse data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages