Hi Siebe,
Just to agree with Edmund and Mauro: selecting "energy" and changing data
type from "raw" to "XAS" should help. But, you would have to do this for
every file, which is not ideal.
The file reader is trying to guess whether data is in energy (and if so,
what units are used) and whether it is really XAS data or some other kind
of data. I suspect that it is defaulting to "raw" because the energy column
is not labeled "energy", but "col1" -- it sort of looks like the reader is
not doing a good job of guessing what the columns mean.
Posting a file would help diagnose why it is guessing wrong. The file
reading does try to guess what beamline a data file came from, so if you
send a file, maybe we can add enough hints for files from that beamline to
work more reliably.
On Tue, Feb 28, 2023 at 6:37 AM Welter, Edmund
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: 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: 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 |
_______________________________________________ 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
-- --Matt Newville <newville at cars.uchicago.edu> 630-327-7411