Giter VIP home page Giter VIP logo

Comments (4)

hakonanes avatar hakonanes commented on July 17, 2024

Hi @christiankwalters,

based on the orientation maps, your results from EMsoft seem consistent, while there is a slight (systematic?) change in the orientation. Might this be related to your projection center? How did you arrive at y_pc = 13.055? I get y_pc = (Nx * y*) - (Ny / 2) = (311 * 0.551) - (256 / 2) = 43.361. I based this expression on the assumptions listed in kikuchipy's docs. Such a change in PC should cause a change in orientation.

from emsoft.

christiankwalters avatar christiankwalters commented on July 17, 2024

Thanks, @hakonanes, for your quick reply!

Your suggested value of y_pc was exactly right, and my issue seems to be resolved now. Indexing the same portion of the scan shows good agreement between the EMsoft results and those of AZtec/kikuchipy.
image

I think I understand the source of my confusion now. In the Pattern Simulation wiki page for EMsoft, the pattern center relations agree with your calculation for y_pc:

pcx = Nx x* - Nx/2
pcy = Nx y* - Ny/2
L = W z*.

In my case, I was performing these calculations based on M. Jackson's 2019 paper, which has the relation as y_pc = (Ny * y*) - (Ny/2) = 256*(0.551 - 0.5) = 13.056.

image

Maybe the correct procedure has changed since 2019. In any event, I'm glad this orientation issue seems to be fixed. Thanks very much for your help!

Best,
Christian

from emsoft.

hakonanes avatar hakonanes commented on July 17, 2024

Great! I'm glad this solved your issue.

The beta version of EMsoft v6.0 (EMsoftOO) has a new PC conversion program EMEBSDpc (https://github.com/EMsoft-org/EMsoftOO/blob/develop/NamelistTemplates/EMEBSDpc.template). This and the wiki should have the most updated conversions.

An alternative is to use kikuchipy, which I did to check your PC (current version is v0.8.4):

>>> import kikuchipy as kp
>>> det = kp.detectors.EBSDDetector(
...     (256, 311), pc=[0.52, 0.551, 0.659], convention="oxford", px_size=75.88
... )
>>> det.pc_emsoft()
array([[-6.22000000e+00,  4.33610000e+01,  1.55515301e+04]])

from emsoft.

marcdegraef avatar marcdegraef commented on July 17, 2024

from emsoft.

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.