Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent state, complex images, DPC #27

Merged
merged 8 commits into from
Oct 22, 2024
Merged

Persistent state, complex images, DPC #27

merged 8 commits into from
Oct 22, 2024

Conversation

sezelt
Copy link
Member

@sezelt sezelt commented Oct 22, 2024

This adds some persistence of state across runs, currently maintaining the same window size and autorange settings. The data is stored in a platform-dependent location using a Qt settings INI file.

This also removes the "CoM Magnitude" and "CoM Angle" detector response modes, and replaces them with a single "DPC" response that displays a Lab colored image representing magnitude and phase. To support this the virtual image can now be specified as a complex array, which triggers this new rendering mode. The data cursor changes to display magnitude and phase when hovering a complex image.

Detectors that require a mask (and thus loop over each pattern) now cause a progress bar to display in the status bar, since on some datasets these can be slow.

Keyboard shortcuts are available for the vanilla loader and the py4DSTEM export: Ctrl+O and Ctrl+S

@sezelt sezelt merged commit 980ac37 into py4dstem:dev Oct 22, 2024
1 check passed
@sezelt sezelt deleted the config branch October 22, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant