Dear Siebe, In addition to the quick workaround suggested by Edmund, if you could send your data file to me (here or by private email), I could have a look why xas_viewer is not detecting the energy scale automatically. @Edmund, usually the "xas" file type is setted automatically when the x-axis is identified as energy scale in the `read_ascii` function. If you have data files that are not detected correctly as XAS data files, please, do not hesitate to send them to us. Best, Mauro On 28/02/2023 13:37, Welter, Edmund wrote:
Dear Siebe,
did you try to change the data type from "raw" to XAS. If you click on the small arrow on the right you should have the choice between xas and raw. On my computer that works and after that I can choose the unit for the X-axis. For some reason "raw" seems to be the preset choice. Maybe Matt could change that, I fell into this trap several times.
Cheers, Edmund
------------------------------------------------------------------------ *From: *"van der Veer, Siebe"
*To: *"XAFS Analysis using Ifeffit" *Sent: *Tuesday, 28 February, 2023 13:16:18 *Subject: *[Ifeffit] XAS viewer unit detection during data reading Dear all, I am not sure if this mailing list is the correct medium for this question. Apologies, if not.
I am looking to import files in XAS viewer, which worked fine in ATHENA, but in XAS viewer the correct units of the data are not detected and I cannot manually change them. I can get a plot of the data, but the data is not recognized by the software as XAS data, i.e. a lot of plotting/conversion options do not show.
I hope the following screenshots provide sufficient information to illustrate my issue.
Reading in a .dat file of fluorescence data. I can't change the units in the marked area.
image.png
The data can be read into the XAS viewer, but I don't have the regular plotting options in these dropdown menus.
image.png
Any advice would be much appreciated.
Kind regards,
-- *Siebe van der Veer* | *PhD student* Nanostructures of Functional Oxides | Zernike Institute for Advanced Materials University of Groningen | Nijenborgh 4, 9747 AG Groningen | The Netherlands Email: s.van.der.veer@rug.nl mailto:s.van.der.veer@rug.nl|
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit