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

Support mask variations suitable for 4D STEM imaging #182

Open
Tracked by #1029
cmeyer opened this issue Apr 15, 2024 · 0 comments
Open
Tracked by #1029

Support mask variations suitable for 4D STEM imaging #182

cmeyer opened this issue Apr 15, 2024 · 0 comments
Labels
audience - user affects users effort - week a week or less impact - high has difficult or onerous workaround priority - medium automated priority tag reach - medium affects several users weekly

Comments

@cmeyer
Copy link
Collaborator

cmeyer commented Apr 15, 2024

Copied from a previously internal issue:

AM:

If we want to support things like DPC with the Dectris ELA we need new mask types to allow the user to create more complex masks.
See the mask below for example. I used a couple of rectangle and ellipse graphics to create it, but this is not very user friendly.

image

Maybe after spend some time with my preliminary mask builder we can decide which building blocks are needed to simplify creating the most common masks.

In the above case maybe something like an "asymmetric wedge mask" would help.

At the minimum setting up a virtual segmented STEM detector should be as simple as with a hardware segmented detector.
There you typically want to use signals like (Q3 - Q1) or some other linear combination of the signals of the individual segments.

dpc-stem-imaging-magnetic-structure-application-note.pdf

CM: Another way we might look at this is to figure out what might be parameterized in each of the masks. For instance, we have the origin, the overall angle, the wedge start/end angles, the inner/outer radius. Is this a good parameterization of this particular type of mask?

CM: Also, the dark/light portions are just "the mask", right? There is no difference between those two areas? i.e. they're not 1.0 and -1.0 are they?

AM: Oh no the black area is -1, the grey area is 0 and the white one is +1

Another type of mask we might want is a center-of-mass mask (see Hachtel et al. Sub-Å Electric Field Measurements JASCI 2018).

A center-of-mass mask would have a linear gradient in it, generally with 0 being at the center of the mask/frame. Of course we need to allow combining it with other masks, so that you can for example limit the center-of-mass calculation to a circle at the center of a frame.

@cmeyer cmeyer added audience - user affects users impact - high has difficult or onerous workaround reach - medium affects several users weekly effort - week a week or less labels Apr 15, 2024
@cmeyer cmeyer added priority - very high automated priority tag priority - high automated priority tag and removed priority - very high automated priority tag labels Apr 15, 2024
@cmeyer cmeyer added priority - medium automated priority tag and removed priority - high automated priority tag labels Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audience - user affects users effort - week a week or less impact - high has difficult or onerous workaround priority - medium automated priority tag reach - medium affects several users weekly
Projects
None yet
Development

No branches or pull requests

1 participant