Thanks, Bruce, for your reply. It's so frustrating that you can't seem to replicate my problem! Here is a screenshot to show what happens when I read the data file into Athena 0.9.20 - basically I get the wrong normalization range. BTW, my computer runs on Windows 7, don't know whether it matters or not... Zhaoming [cid:image002.jpg@01D0711D.55EA40B0] From: Ravel, Bruce [mailto:bravel@bnl.gov] Sent: Friday, 3 April 2015 2:24 AM To: XAFS Analysis using Ifeffit Cc: ZHANG, Zhaoming Subject: RE: [Ifeffit] Importing data with the new version of Athena [SEC=UNCLASSIFIED] Zhaoming, This conversation should be happening on the Ifeffit Mailing List. I did not notice that last night when I replied to your first email. Yet another reason not to answer email late at night! I continue to be sceptical of your claims. I have no problems with the data file you sent on either Windows or Linux once I correctly select the columns in the column selection dialog. Once imported, the default values for normalization are set as I expect and the data is interactive in the normal manner. Here are some hints about how to provide a useful bug report: http://bruceravel.github.io/demeter/pods/bugs.pod.html Please read it carefully. If there is more to this conversation, please use the mailing list. B -- Bruce Ravel ------------------------------------ bravel@bnl.govmailto: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: Thursday, April 02, 2015 1:00 AM To: Ravel, Bruce Subject: RE: [Ifeffit] Importing data with the new version of Athena [SEC=UNCLASSIFIED] 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.govmailto: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