Hi Bruce,
Sorry, I did have to specify column 4 as energy, 7 as Io and 8 as It. The new version of Athena does read the .dat file in, but the default values for normalization are way wrong, and it doesn’t work by manually change them either.
I’m happy to send you screen shots if necessary. Thanks again for your help.
Zhaoming
From: Ravel, Bruce [mailto:bravel@bnl.gov]
Sent: Thursday, 2 April 2015 12:43 PM
To: ZHANG, Zhaoming
Subject: RE: [Ifeffit] Importing data with the new version of Athena [SEC=UNCLASSIFIED]
Zhaoming,
I'm afraid I am sceptical of your story. I have no trouble reading this file and I don't believe that any change I've made since 0.9.20 would have affected this. Who knows, though. I'll take a lok on a windows machine when I get into work tomorrow morning.
It's a rather awkward file. The first column is an index, not energy. That's one of my pet peeves -- just a ridiculous way to present the data and kind of mean-spirited to the user. When something is measured in energy, the first column should be energy.
That means you have to explicitly select column 2 as the energy. Column 2 appears to be in keV, so you need to explicitly set that in the column selection dialog. Because column 1 was not the energy, Athena had no way of figuring that out.
I have no idea which columns have data in them. 7 and 8 look rather like I0 and It. So you need to explicitly set your data columns, as well.
I've attached a screenshot of the column selection dialog with all those settings.
When data are presented as obfuscated as they are in this data file, it is not reasonable to expect that Athena will magically know how to disentangle everything without your help. You have to be responsible for knowing which columns to combine to turn your
raw data into mu(E).
B
--
Bruce Ravel ------------------------------------
bravel@bnl.gov
National Institute of Standards and Technology
Synchrotron Science Group at NSLS-II
Building 535A
Upton NY, 11973
Homepage: http://bruceravel.github.io/home
Software: https://github.com/bruceravel
Demeter: http://bruceravel.github.io/demeter
From: ZHANG, Zhaoming [zzx@ansto.gov.au]
Sent: Wednesday, April 01, 2015 7:34 PM
To: Ravel, Bruce
Subject: [Ifeffit] Importing data with the new version of Athena [SEC=UNCLASSIFIED]
Dear Bruce,
I’ve encountered the same problem as Sander Bruun. My data were obtained from the Australian Synchrotron. In the past, I could read the .dat file (see attached example) directly into Athena. But it doesn’t work with the new version (0.9.20), and the beamline scientist doesn’t know why either.
I would really appreciate if you could let me know what ‘fix’ we need! Thanks so much.
Warm regards,
Zhaoming