Skip to main content

A 4D-STEM data browser built on py4DSTEM.

Project description

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.

Demonstration

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 logo

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:

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py4d_browser-1.1.3.tar.gz (334.2 kB view details)

Uploaded Source

Built Distribution

py4D_browser-1.1.3-py3-none-any.whl (331.7 kB view details)

Uploaded Python 3

File details

Details for the file py4d_browser-1.1.3.tar.gz.

File metadata

  • Download URL: py4d_browser-1.1.3.tar.gz
  • Upload date:
  • Size: 334.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for py4d_browser-1.1.3.tar.gz
Algorithm Hash digest
SHA256 a817fa1bcd4c4640b56ddf5ad4068b505e384636b7def2eed8065f71667a3cac
MD5 1c7c503a67ab51b1581157f11b966695
BLAKE2b-256 a1de54a41715285903ee6d0c96357bb66cc195c36d0e25d4caf5474433f1f857

See more details on using hashes here.

File details

Details for the file py4D_browser-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: py4D_browser-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 331.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for py4D_browser-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8aff8356da3cead362cc97bc0dab363d2b821b4017dca87d948ff342f10f645b
MD5 8570612b30442cf19a5a742186c4a856
BLAKE2b-256 7ae5eaeb87c06fff8264ed25c1dec25660220651c1980ba42c5fb19f3bf3f029

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page