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

Set correct sample tilt for TKD dataset read from Bruker HDF5 #669

Open
hakonanes opened this issue May 28, 2024 · 5 comments
Open

Set correct sample tilt for TKD dataset read from Bruker HDF5 #669

hakonanes opened this issue May 28, 2024 · 5 comments
Labels
bug Something isn't working
Milestone

Comments

@hakonanes
Copy link
Member

hakonanes commented May 28, 2024

An on-axis TKD dataset read from a Bruker HDF5 file may have a sample tilt σ = 0 degrees and a detector tilt θ of, say, 5.8 degrees. In kikuchipy's detector-sample geometry, this case corresponds to the detector looking at the sample almost edge-on. This is obviously incorrect for on-axis TKD.

The correct in this case is σ' = σ + 90. But what are the rules for when to do this?

In a file with these tilts (generously provided by Alice Bastos da Silva Fanta from DTU), the following image of the Bruker Esprit 2.x coordinate systems is included in the EBSD.original_metadata.Coordinate_Systems.ESPRIT_Coordinates:

The original metadata also contains a "coordinate system ID" equal to 5 in this case. My assumption is that this value signifies that we can add 90 degrees to σ, but I don't know as I don't have access to a Bruker Esprit manual. @IMBalENce, @Fred-Ad, do you know what this ID means? Or know someone who has access to a Bruker Esprit 2.x manual?

I'm inclined to add 90 degrees to the sample tilt of the detector returned with the signal if we can verify that the coordinate system ID is equal to 5.

@hakonanes hakonanes added the bug Something isn't working label May 28, 2024
@hakonanes hakonanes added this to the v0.9.1 milestone May 28, 2024
@hakonanes
Copy link
Member Author

Re-reading the excellent supplementary material to the tutorial paper by Britton et al. (2016) https://doi.org/10.1016/j.matchar.2016.04.008, the tilt of the sample relative to the detector is given by τ = τ_sample - 90 - θ. In this case, this would be τ = 0 - 90 - 5.8 = -95.8, which is incorrect.

@hakonanes hakonanes modified the milestones: v0.9.1, v0.10.0 May 28, 2024
@hakonanes
Copy link
Member Author

@lukmuk, from hyperspy/rosettasciio#103 I understand that you're a Bruker user. Do you know what a Coordinate System ID of 5 signifies? I'm trying to figure out how I can know that data is acquired with an on-axis TKD detector-sample geometry.

@hakonanes hakonanes modified the milestones: v0.10.0, v0.11.0 Jun 2, 2024
@IMBalENce
Copy link
Contributor

@hakonanes I have checked all my Bruker user manuals and could not find any information on this Coordinate System ID. I'll send you the latest version I have in email. I will keep searching in case of any clues.

@hakonanes
Copy link
Member Author

Thanks @IMBalENce, I'll have a look at the manuals as well.

@lukmuk
Copy link

lukmuk commented Jun 3, 2024

@lukmuk, from hyperspy/rosettasciio#103 I understand that you're a Bruker user. Do you know what a Coordinate System ID of 5 signifies? I'm trying to figure out how I can know that data is acquired with an on-axis TKD detector-sample geometry.

Hello @hakonanes ! Yes, we have a Bruker system and I am starting to get into EBSD in the last few months. Kikuchipy helps a lot in processing and understanding the concepts! 😅

Regarding the question:

  • I could not find much info in the manual (I have Esprit 2.1 and 2.3, but not much info on this problem here).

  • Esprit has a "TKD mode" option in the PC calibration, which I thought may add the additional 90° rotation and may add the system ID (?). However, according to my manual, this "TKD mode" checkbox is only required for the configuration with "flat" TEM sample and "normal"/vertical EBSD detector position (i.e., not on-axis TKD). So I guess this will not set the system ID (but may be double-checked by others?).
    grafik

  • The system ID may be set by the settings in the online version for Esprit on the SEM, where the admin/user has to set if the normal off-axis EBSD or on-axis TKD detector is currently mounted. This may set the required additional 90° detector tilt. I will check for info when I am on the microscope next time. Maybe there is some info.

Unfortunately, we do not have the option to export to Bruker's hdf5 format from our Bruker Esprit software, so I cannot check possible changes to the hdf5 metadata. Maybe someone else has access to TKD + Bruker-hdf5-export option?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants