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

postion data in spot area spectra/spot sequences #338

Open
madmin23 opened this issue Nov 27, 2024 · 2 comments
Open

postion data in spot area spectra/spot sequences #338

madmin23 opened this issue Nov 27, 2024 · 2 comments

Comments

@madmin23
Copy link

Describe the functionality you would like to see.

When reading .ASW files position data of the spot sequence (.eds-files) should be read in and additionally displayed properly in the according image.

Describe the context

Reading .ASW files using rsciio.jeol.file_reader() for files that contain spot sequences, the position information of the individual spectra is not read. Therefor all spectra have no positional component and can not be located in the accompanying image. This is necessary for proper analysis of the spectra.

Additional information

The positions for the individual spectra can be found in the original_metadata of the .ASW file using the keyword original_metadata["asw_viewdata"]["PositionMM"]. This returns a list containing four numbers in the style [x,y,x,y] in the range {-2e-5,0,2e-5} (for my measurement). Plotting x and y results in the measured spot pattern, but is not trivially transformed to the image dimensions (in my case 512px by 512px).

@CSSFrancis
Copy link
Member

Hi @madmin23 from my understanding it shouldn't be too hard to make that change and support it! What would be very helpful is a minimum example. Something like the smallest (reasonable dataset) you can acquire? Maybe a 2x2 scan?

@madmin23
Copy link
Author

Hi @madmin23 from my understanding it shouldn't be too hard to make that change and support it! What would be very helpful is a minimum example. Something like the smallest (reasonable dataset) you can acquire? Maybe a 2x2 scan?

Yes I will prepare one and report back, when I have it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants