EMsoft-org / EMSphInx

C++ Spherical Indexing repository
GNU General Public License v2.0
8 stars 20 forks source link

TKD: SHT preparation and indexing errors #9

Open Habakuk224 opened 3 years ago

Habakuk224 commented 3 years ago

I have run into two issues when trying to index TKD pattern:

mp2sht issue

The mp2sht assumes *.h5 file generated for standard EBSD geometry (backscatter) using EMEBSDmaster etc. When trying to parse h5 file for TKD geometry, errors occur due to the different node naming ('TKDmaster'/'EBSDmaster', 'MCfoil'/'MCOpenCL', etc.). I was able to go around this by renaming the respective nodes in h5 file, but then I ran into another issue:

Tilt check issue

There is a sanity check for abs(90°-sTlt+dTlt) < 90° (i.e. the detector can see the sample). However, for TKD sTlt = -20°and dTlt = 10°, resulting in an error "pattern center not on detector".

Could the TKD geometry be somehow taken into the accout? Thanks!

marcdegraef commented 3 years ago

Hi,

well, yes, in principle these programs can be adapted to work for TKD as well.  Currently, I do not have the time nor the person power to make those changes, and I don't anticipate this changing any time soon.  But since this whole package is open source, you (or anyone else) are more than welcome to attempt these additions and modifications yourself... If you get it to work correctly we will happily incorporate your changes into the package and make it available to everyone...

Regards, Marc.

On 10/11/20 2:48 PM, Habakuk224 wrote:

I have run into two issues when trying to index TKD pattern:

  mp2sht issue

The /mp2sht/ assumes *.h5 file generated for standard EBSD geometry (backscatter) using /EMEBSDmaster/ etc. When trying to parse h5 file for TKD geometry, errors occur due to the different node naming ('TKDmaster'/'EBSDmaster', 'MCfoil'/'MCOpenCL', etc.). I was able to go around this by renaming the respective nodes in h5 file, but then I ran into another issue:

  Tilt check issue

There is a sanity check for abs(90°-sTlt+dTlt) < 90° (i.e. the detector can see the sample). However, for TKD sTlt = -20°and dTlt = 10°, resulting in an error "pattern center not on detector".

Could the TKD geometry be somehow taken into the accout? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EMsoft-org/EMSphInx/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB26VWEG3O62LDR7JSLBY5TSKH4ZVANCNFSM4SL6NFAQ.

-- Marc De Graef Professor Department of Materials Science and Engineering 130 Roberts Engineering Hall Carnegie Mellon University 5000 Forbes Avenue Pittsburgh, PA 15213-3890 USA

Ph: (412) 268-8527 Fx: (412) 268-7596 email: degraef@cmu.edu web: http://materials.cmu.edu/degraef

Admin. Asst.: Marygrace Antkowski Phone: (412) 268-7240