Import XAFS Data from Farrel Lytle Database (http://ixs.iit.edu/database/)
Hi all, I searched the Farel Lytle Database and looked like I found chalcopyrite spectra for Cu from http://ixs.iit.edu/database/data/Farrel_Lytle_data/RAW/Cu/index.html. I downloaded the data, but I can not import into Athena. I looked into the data, it looked wired for me. The first column doesn't look like energy for Cu. I am wondering if anyone have any idea how to import or transfer the data. I attached the data file. Regards, Peng -- Ph.D. Candidate Earth and Environmental Sciences, CEIT Bldg. Rm. 2026 University of Waterloo Ph: 519-888-4567 ext. 37232 200 University Avenue West Waterloo, Ontario N2L 3G1 Fax:519-746-3882 p26liu@uwaterloo.ca
Hi Peng,
See
http://cars9.uchicago.edu/ifeffit/FAQ/Data_Handling#How_can_I_read_data_file...
I believe there is a plugin for reading these files in (D)Athena.
--Matt
On Wed, Jul 30, 2014 at 9:54 PM, Peng Liu
Hi all,
I searched the Farel Lytle Database and looked like I found chalcopyrite spectra for Cu from http://ixs.iit.edu/database/data/Farrel_Lytle_data/RAW/Cu/index.html.
I downloaded the data, but I can not import into Athena. I looked into the data, it looked wired for me. The first column doesn't look like energy for Cu.
I am wondering if anyone have any idea how to import or transfer the data. I attached the data file.
Regards,
Peng
-- Ph.D. Candidate Earth and Environmental Sciences, CEIT Bldg. Rm. 2026 University of Waterloo Ph: 519-888-4567 ext. 37232 200 University Avenue West Waterloo, Ontario N2L 3G1 Fax:519-746-3882p26liu@uwaterloo.ca
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Hi Peng: I wrote a small Python program to convert these data into something more understandable. In the process, I documented the format as far as I could figure it out. I have included the description below: Carlo ------------------------------------------------------------------------- The first column is in motor steps (!), and the angle is a linear function of motor steps, and the rest is just Bragg's law. Things are referenced physically to the copper edge. Key parameters used in the data acquisition program are in the header: dspace is obvious, stepdeg is steps per degree in the mono, cuedge is the position of the Cu edge as measured in motor step units. I think the channel offsets (dark currents) are already subtracted from the other columns; the offsets are just listed for documentation. In addition, there are two different file types, the ones which have a header beginning with NPTS and containing DSPACE and the older files which begin with CUEDGE and do not contain d-spacing information. For the latter, we make the following assumptions: dSpacing = 1.92017 stepDegree = 2000 * int(edgeCu / 42000) The guts of the calculation are as follows: theta = ((steps - edgeCu) / stepDegree) * (pi / 180.) + thetaCu energy = hc / (2 * d * numpy.sin(theta)) where steps - the current step value in the original file edgeCu - the position of the Cu edge in steps stepDegree - the steps per degree theta thetaCu - the angle of the Cu edge (from d-spacing information) ------------------------------------------------------------------------ On Wed, 30 Jul 2014, Peng Liu wrote:
Hi all,
I searched the Farel Lytle Database and looked like I found chalcopyrite spectra for Cu from http://ixs.iit.edu/database/data/Farrel_Lytle_data/RAW/Cu/index.html.
I downloaded the data, but I can not import into Athena. I looked into the data, it looked wired for me. The first column doesn't look like energy for Cu.
I am wondering if anyone have any idea how to import or transfer the data. I attached the data file.
Regards,
Peng
-- Carlo U. Segre -- Duchossois Leadership Professor of Physics Director, Center for Synchrotron Radiation Research and Instrumentation Illinois Institute of Technology Voice: 312.567.3498 Fax: 312.567.3494 segre@iit.edu http://phys.iit.edu/~segre segre@debian.org
participants (3)
-
Carlo Segre
-
Matt Newville
-
Peng Liu