You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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?
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.
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 keywordoriginal_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). Plottingx
andy
results in the measured spot pattern, but is not trivially transformed to the image dimensions (in my case 512px by 512px).The text was updated successfully, but these errors were encountered: