How to handle SSRL, beamline 2-2 data. Attached is a binary and an ASCII file(with under score A). Wordpad reads it, first column is time (data point duration), second energy it must go to, third real energy where mono went, fourth I0 and fifth It. It is gold foil transmission data. Syed Khalid
Dear Syed Khalid, One simple work around can be to select "Plugin Registry" and enable SSRL related plugins. By doing this I was able to successfully read both the attached files in Demeter Athena. Further details to enable plugins can be found here: http://bruceravel.github.io/demeter/aug/other/plugin.html /Shoaib SKKU (South Korea) From: ifeffit-bounces@millenia.cars.aps.anl.gov [mailto:ifeffit-bounces@millenia.cars.aps.anl.gov] On Behalf Of Khalid, Syed Sent: Monday, February 2, 2015 5:11 AM To: ifeffit@millenia.cars.aps.anl.gov Subject: [Ifeffit] SSRL-data How to handle SSRL, beamline 2-2 data. Attached is a binary and an ASCII file(with under score A). Wordpad reads it, first column is time (data point duration), second energy it must go to, third real energy where mono went, fourth I0 and fifth It. It is gold foil transmission data. Syed Khalid
Hi Syed, If any beamline is giving you data in a non-standard binary format and not providing software to deal with the data, either complain very loudly (and not to the people at the beamline -- complain to the people *paying* the people who are running the beamline), or use another beamline. I'd recommend both. There is absolutely no excuse for undocumented binary data formats. It is completely unacceptable. If there is a program to convert to a portable format, demand the source code for that program. That said, the ASCII file you have would be easily read by Athena if you added a '#' sign to the first column of every line before the actual array data starts. If you had the source code for the program that converted the binary file to the ASCII file, it would probably be easy to make such a change. If you don't have that source code, the binary data files are worthless. --Matt
Seems to me that in this era of nigh-infinite disk space, there's no need for binaries for EXAFS files like this. The ASCII is perfectly fine. One question to ask: Is the offset already subtracted from the data count? I assume that it is, because the last column has numbers that are smaller than the offset numbers. Another question is which energy to believe. On 10.3.2, it turns out that the requested energy seems to be more accurate than the reported energy. This becomes clear when you look at XANES and find it much smoother, especially in the derivative, when you use the requested energy. mam On 2/1/2015 12:10 PM, Khalid, Syed wrote:
How to handle SSRL, beamline 2-2 data.
Attached is a binary and an ASCII file(with under score A).
Wordpad reads it, first column is time (data point duration), second energy it must go to, third real energy where mono went, fourth I0 and fifth It. It is gold foil transmission data.
Syed Khalid
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
participants (4)
-
Khalid, Syed
-
Matt Newville
-
Matthew Marcus
-
Shoaib Muhammad