[Ifeffit] Ifeffit Digest, Vol 144, Issue 2

Khalid, Syed khalid at bnl.gov
Wed Feb 4 12:32:07 CST 2015


Thank you all, many nice suggestions and I will try them all.

For the first time the beamline 2-2 at SSRL is being used for XAS.
The control software is in LINUX and the output files automatically move to a
Windows computer, in binary and ASCII form, sitting next to it.
We were also able to see the ASCII file in wordpad and then saved it as text file after deleting all the text and only keeping the data columns.
Athena was able to read it then.
I will have to write a program to add "#" before text lines. We will need that dealing with lot of data.
I will certainly check with the beamline scientist, why things are the way they are.
About the offsets, I did notice it was slightly negative, but we had other major problems to deal with, so did not bother.

Syed Khalid



-----Original Message-----
From: ifeffit-bounces at millenia.cars.aps.anl.gov [mailto:ifeffit-bounces at millenia.cars.aps.anl.gov] On Behalf Of ifeffit-request at millenia.cars.aps.anl.gov
Sent: Wednesday, February 04, 2015 1:00 PM
To: ifeffit at millenia.cars.aps.anl.gov
Subject: Ifeffit Digest, Vol 144, Issue 2

Send Ifeffit mailing list submissions to
	ifeffit at millenia.cars.aps.anl.gov

To subscribe or unsubscribe via the World Wide Web, visit
	http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
or, via email, send a message with subject or body 'help' to
	ifeffit-request at millenia.cars.aps.anl.gov

You can reach the person managing the list at
	ifeffit-owner at millenia.cars.aps.anl.gov

When replying, please edit your Subject line so it is more specific than "Re: Contents of Ifeffit digest..."


Today's Topics:

   1. Re: SSRL-data (Shoaib Muhammad)
   2. Re: SSRL-data (Matt Newville)
   3. Re: SSRL-data (Matthew Marcus)


----------------------------------------------------------------------

Message: 1
Date: Wed, 4 Feb 2015 10:31:56 +0900
From: "Shoaib Muhammad" <mshoaibce at gmail.com>
To: "'XAFS Analysis using Ifeffit'"
	<ifeffit at millenia.cars.aps.anl.gov>
Subject: Re: [Ifeffit] SSRL-data
Message-ID: <002401d0401a$5e97d300$1bc77900$@gmail.com>
Content-Type: text/plain; charset="us-ascii"

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 at millenia.cars.aps.anl.gov
[mailto:ifeffit-bounces at millenia.cars.aps.anl.gov] On Behalf Of Khalid, Syed
Sent: Monday, February 2, 2015 5:11 AM
To: ifeffit at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20150204/ff6c13c9/attachment.html>

------------------------------

Message: 2
Date: Tue, 3 Feb 2015 21:38:58 -0600
From: Matt Newville <newville at cars.uchicago.edu>
To: XAFS Analysis using Ifeffit <ifeffit at millenia.cars.aps.anl.gov>
Subject: Re: [Ifeffit] SSRL-data
Message-ID:
	<CA+7ESbp06KLZd+U-n9gFjjd=fNNKTFuKdTm3xmjKEdszifQx5g at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20150203/9bc87ac2/attachment-0001.htm>

------------------------------

Message: 3
Date: Wed, 04 Feb 2015 08:00:06 -0800
From: Matthew Marcus <mamarcus at lbl.gov>
To: XAFS Analysis using Ifeffit <ifeffit at millenia.cars.aps.anl.gov>
Subject: Re: [Ifeffit] SSRL-data
Message-ID: <54D24206.4020207 at lbl.gov>
Content-Type: text/plain; charset=windows-1252; format=flowed

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 at millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
>


------------------------------

_______________________________________________
Ifeffit mailing list
Ifeffit at millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


End of Ifeffit Digest, Vol 144, Issue 2
***************************************




More information about the Ifeffit mailing list