[Ifeffit] New user to EXAFS
Matt Newville
newville at cars.uchicago.edu
Thu Oct 7 10:00:35 CDT 2004
William,
First, if you remove the last line of the file:
END OF DATA
The data in this file will be read just fine by Ifeffit/athena.
Second, if you add any of the following characters: '#', '%', ';'
to the first non-blank character on the 'header' lines:
#&SRS
#SRSRUN=55267,SRSDAT=040521,SRSTIM=125128,
#SRSSTN='ex1a',SRSPRJ='xrsws7p1',SRSEXP='exafs ',
#SRSTLE='KFe3 '
#SRSCN1='80K ',SRSCN2='two ',SRSCN3='three ',
#&END,
the header lines will be kept as strings -- not a big deal, but
convenient.
Those steps seem easy enough that a simple filter script (in perl,
bash, or python or whatever) could be written to convert
Daresbury files to a format easily read into Ifeffit, athena, or
sixpack. In principle, ifeffit source code could be changed to
support this format, but it seems close enough that a simple
filter would be better.
Finally, I couldn't tell exactly what the columns in the file
were. It looked like the first column might have been
monochromator angle or steps, not energy. If
that's the case, you might want to look at
http://cars9.uchicago.edu/cgi-bin/ifeffit/faqwiz?req=show&file=faq03.004.htp
for hints about how to convert steps to energy.
Hope that helps,
--Matt
More information about the Ifeffit
mailing list