Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
3c11e04
package logo file correctly
sezelt Jan 3, 2024
6505f78
minor version bump
sezelt Jan 3, 2024
e6b11cd
Merge pull request #10 from sezelt/dev
sezelt Jan 3, 2024
fbe1b6b
add keyboard commands for moving detectors
sezelt Jan 13, 2024
a4417e0
remove debug prints
sezelt Jan 14, 2024
8a6d744
version bump
sezelt Jan 14, 2024
75fd15e
update python requirement
sezelt Jan 14, 2024
816fb51
working but imperfectly formatted scale bar
sezelt Jan 17, 2024
ed7718d
format scalebar nicely
sezelt Jan 17, 2024
09fcf0a
add scalebar to FFT and fix bug in all scalebars
sezelt Jan 17, 2024
bb77993
attempt to discover calibrations in H5 files for EMD-1.0 and abTEM
sezelt Jan 17, 2024
ed900c2
search for metadata in EMD v1 files instead of Array attrs
sezelt Jan 17, 2024
94b9f84
make scale bar a little smaller
sezelt Jan 22, 2024
b95ccba
add ability to move faster with keyboard using shift
sezelt Feb 2, 2024
b87cea3
add keyboard map help menu
sezelt Feb 2, 2024
3a945f1
update readme with keyboard controls
sezelt Feb 2, 2024
bf4e1ab
format with black
sezelt Feb 2, 2024
8999793
optional EWPC in FFT viewer
sezelt Feb 2, 2024
60a61da
disable pyqtgraph builtin rightclick menu
sezelt Feb 2, 2024
6b7f413
make auto-contrast happen at more sensible times
sezelt Feb 2, 2024
0abe61e
typo
sezelt Feb 2, 2024
ae9c08c
switch text annotations to status bar
sezelt Feb 2, 2024
e80674f
add simple autoscale buttons to bottom bar
sezelt Feb 4, 2024
2a4f289
allow autoscale to be locked on
sezelt Feb 5, 2024
f0ac654
autoscale on by default
sezelt Feb 5, 2024
986cb2e
format with black
sezelt Feb 5, 2024
3fdd242
ensure RAW exports get the unscaled data
sezelt Feb 5, 2024
a993e3e
clarify export type names
sezelt Feb 5, 2024
5611382
tentatively use new DPC name, will eventually in-house
sezelt Feb 5, 2024
db8b82a
fix for new save menu names
sezelt Feb 5, 2024
05172eb
typo
sezelt Feb 5, 2024
3b6c726
reset FFT range when mode switches
sezelt Feb 5, 2024
9e94fe9
scale FFT to have isotropic pixel size even for non square scans
sezelt Feb 6, 2024
54215bd
autorange after fft update
sezelt Feb 6, 2024
1320c4b
update README with description of the controls
sezelt Feb 6, 2024
a156fc1
update comment
sezelt Feb 7, 2024
3d5e682
Merge pull request #12 from sezelt/dev
sezelt Feb 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,19 @@ The GUI is available on PyPI and conda-forge:
## 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](https://doi.org/10.1016/j.ultramic.2020.112994).
* 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](https://github.com/sezelt/empad2) 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](/images/demo.gif)

The keyboard map in the Help menu was made using [this tool](https://archie-adams.github.io/keyboard-shortcut-map-maker/) and the map file is in the top level of this repo.

## About

![py4DSTEM logo](/images/py4DSTEM_logo.png)
Expand Down
Loading