Giter Site home page Giter Site logo

Comments (5)

seto77 avatar seto77 commented on August 9, 2024 1

Thank you for the great ideas you gave me.
I will consider those ideas within the next few days and take some action. Please wait a while.

from recipro.

seto77 avatar seto77 commented on August 9, 2024

lukmuk-san,

I have improved ReciPro to meet your ideas.

image

As shown in the screenshot above, "nm^-1/pix" was added as a unit of monitor resolution. Selecting this unit allows the size of a single pixel in the vicinity of the direct spot to be set in the dimensions of the reciprocal space.

For your idea to display all spots as points of the same size, I added the option "Draw all spots with the same radius". This option appears only when "Only exicitation error" is selected.

Please try the latest version (ver 4.880) and let me know if this update implements your ideas properly.

from recipro.

lukmuk avatar lukmuk commented on August 9, 2024

seto-san,

thank you for the quick implementation of the proposed changes! πŸ‘
I tested the diffraction simulator: The "Draw all spots with the same radius" works great! Is it possible to extend the spots so that they fill the full field of view of the currently displayed simulated pattern? If not, that's also fine.

Regarding the nm-1 scaling, I encountered an issue: I tested it with a experimental diffraction pattern (I binned it to 512x512 pixels) of GaAs in <110> zone axis.
GaAs_110_nm-1_512

The pixel size is 0.01800743 nm-1, giving a total field of view of 512*0.01800743 nm-1 = 9.21 nm-1 (edge to edge of the image).

When I use this pixel size in Spot ID v2 (1), it works perfectly and the zone axis is determind nicely (2):

2024-03-15_12-11

However, if I try to simulate the few spots with the nm-1 option, the field-of-view seems way to large for some reason:
2024-03-15_12-14

What I expect: If I would put in 0.01800743 nm-1 and a size of 512x512 for the pattern, it should yield the same spot positions as the experimental patterns. I hope this info can help us in identifying the issue.

Thanks for your help and efforts!

Edit: I uploaded the diffraction pattern .tiff and .png for testing (https://github.com/lukmuk/em-stuff/tree/main/TestData).

from recipro.

seto77 avatar seto77 commented on August 9, 2024

I apologize for the inconvenience. It was a simple mistake of not inverting the units. I have corrected it, so please try the latest version (ver4.882).

image

I tested the diffraction simulator: The "Draw all spots with the same radius" works great! Is it possible to extend the spots so that they fill the full field of view of the currently displayed simulated pattern? If not, that's also fine.

Since the algorithm calculates under the condition of a finite radius of the Ewald sphere, it is not possible to draw only the 0th Laue zone. However, by increasing the accelerating voltage (e.g., 10,000 kV), you can effectively expand the 0th Laue zone.

from recipro.

lukmuk avatar lukmuk commented on August 9, 2024

Thanks for quickly fixing the issue, scaling works nicely now!

Since the algorithm calculates under the condition of a finite radius of the Ewald sphere, it is not possible to draw only the 0th Laue zone. However, by increasing the accelerating voltage (e.g., 10,000 kV), you can effectively expand the 0th Laue zone.

Makes sense and the suggested workaround works great.

Thanks for the upgrades to ReciPro I will close this issue.

from recipro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.