The py4DSTEM GUI
This repository hosts the pyqt based graphical 4D--STEM data browser that was originally part of py4DSTEM until version 0.13.11.
Installation
The GUI is available on PyPI and conda-forge:
pip install py4D-browser
conda install -c conda-forge py4d-browser
Usage
Run py4DGUI in your terminal to open the GUI. Then just drag and drop a 4D-STEM dataset into the window!
Controls
- Move the virtual detector and the real-space selector using the mouse or using the keyboard shortcuts: WASD moves the detector and IJKL moves the selector, and holding down shift moves 5 pixels at a time.
- Auto scaling of both views is on by default. Press the "Autoscale" buttons in the bottom right to disable. Press either button to apply automatic scaling once, or Shift + click to lock autoscaling back on.
- Different shapes of virtual detector are available in the "Detector Shape" menu, and different detector responses are available in the "Detector Response" menu.
- The information in the bottom bar contains the details of the virtual detector used to generate the images, and can be entered into py4DSTEM to generate the same image.
- The FFT pane can be switched between displaying the FFT of the virtual image and displaying the exit wave power cepstrum.
- Virtual images can be exported either as the scaled and clipped displays shown in the GUI or as raw data. The exact datatype stored in the raw TIFF image depends on both the datatype of the dataset and the type of virtual image being displayed (in particular, integer datatypes are converted internally to floating point to prevent overflows when generating any synthesized virtual images).
- If the EMPAD-G2 Raw Reader is installed in the same environment, an extra menu will appear that allows the concatenated binary format data to be background subtracted and calibrated in the GUI. You can also save the calibrated data as an HDF5 file for later analysis.
The keyboard map in the Help menu was made using this tool and the map file is in the top level of this repo.
About
py4DSTEM is an open source set of python tools for processing and analysis of four-dimensional scanning transmission electron microscopy (4D-STEM) data. Additional information:
- Our open access py4DSTEM publication in Microscopy and Microanalysis describing this project and demonstrating a variety of applications.
- The py4DSTEM documentation pages.
- Our open access 4D-STEM review in Microscopy and Microanalysis describing this project and demonstrating a variety of applications.
License
GNU GPLv3
py4DSTEM is open source software distributed under a GPLv3 license. It is free to use, alter, or build on, provided that any work derived from py4DSTEM is also kept free and open.
Metadata
Release files for py4D-browser 0.999999
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| py4D_browser-0.999999.tar.gz | 326.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py4D_browser-0.999999-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 651.1 kB
Release files / py4D_browser-0.999999.tar.gz
| Download URL | py4D_browser-0.999999.tar.gz |
|---|---|
| Size | 326.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75c12295e21e1019d6ee3fa77daff3ea29c2969f6034897007c084616131540b
|
|
BLAKE2b-256 checksum How to use checksums |
bb856a154c5abb049ef60c5f1ceeb90c65d54e3749be255e382e6eab78b262e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / py4D_browser-0.999999-py3-none-any.whl
| Download URL | py4D_browser-0.999999-py3-none-any.whl |
|---|---|
| Size | 324.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86f599d493b9f5bf545317d7c8d0fdc2d046d21243b60f77cf8fedceb63fd237
|
|
BLAKE2b-256 checksum How to use checksums |
9fc36e5ecaddffc077b5ceebae3092abe07684f38f039ca8b546c542ca396a3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for py4D-browser 0.999999
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.