[Ifeffit] Ifeffit Digest, Vol 103, Issue 9

Mikutta Christian christian.mikutta at env.ethz.ch
Sun Sep 11 06:39:49 CDT 2011


Hi Marc,
Forgot another illuminative paper:

Van Schaik J.W.J. et al. (2008) EXAFS study on the reactions between iron and fulvic acid in acid aqeous solutions.  Environ. Sci. Technol. 42, 2367-2373.

Cheers,

C.

-----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: Thursday, September 08, 2011 7:00 PM
To: ifeffit at millenia.cars.aps.anl.gov
Subject: Ifeffit Digest, Vol 103, Issue 9

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: Fitting on Athena (Niken Wijaya)
   2. Re: Fitting on Athena (Bruce Ravel)
   3. Re: Fitting on Athena (Matt Newville)


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

Message: 1
Date: Thu, 08 Sep 2011 09:52:38 +1000
From: Niken Wijaya <niken.wijaya at monash.edu>
To: XAFS Analysis using Ifeffit <ifeffit at millenia.cars.aps.anl.gov>
Subject: Re: [Ifeffit] Fitting on Athena
Message-ID: <4E6803C6.9070407 at monash.edu>
Content-Type: text/plain; charset="iso-8859-15"; Format="flowed"

On 7/09/2011 7:24 AM, Bruce Ravel wrote:
> On Sunday, September 04, 2011 08:52:30 pm Niken Wijaya wrote:
>> 1. As you can see on the figure (i.e. filename: ifeffitlist-sample1 
>> fitting), the intensity of the fitting spectra is higher than the 
>> actual sample. This is I believe due to the higher intensity of the 
>> individual standard compounds when compared to the spectra of my samples (i.e.
>> filename: ifeffitlist-intensity). This is the case for every fitting 
>> I did for my sample so I am just not sure with the fitting results.
> Well, there are a lot of problems contributing to your confusion.
>
> One thing that probably doesn't help, but which certainly isn't the 
> central problem, is that you have extremely large values for the 
> y-axis offset parameter of several of the standards.  This makes it 
> difficult to plot normalized spectra in an unconfusing way.
>
> Your central problem is that, for most of the data groups, the values 
> of parameters for the pre-edge and normalization lines are not well 
> chosen.  It would seem that you trusted the default values without 
> checking them.  See
>
>    
> http://cars9.uchicago.edu/~ravel/software/doc/Athena/html/bkg/norm.htm
> l
>
> In your case, the default values resulted in unusably short ranges for 
> thepre-edge line or the post-edge line or both.  The moral of this 
> story is to plot the data with its pre- and post-edge lines to verify 
> that the values result in sensible normalization.  See
>
>    
> http://cars9.uchicago.edu/~ravel/software/doc/Athena/html/plot/tabs.ht
> ml
>
> You also had a problem that some of your data were somehow imported as 
> normalized mu(E) rather than as mu(E) or xanes(E).  See
>
>    
> http://cars9.uchicago.edu/~ravel/software/doc/Athena/html/import/colum
> ns.html#datatypesandenergyunits
>
> This is usually not a good idea as it tells Athena that your data are 
> already reliably normalized and should not be further processed.
> Those data, however, were not unit edge-step normalized, which is what 
> the LCF utility requires.  The way to fix that in an existing Athena 
> project file is explained just a little further down on that same 
> page.
>
> Once I fixed the datatype for all of your groups and performed a 
> sensible normalization for your data, I got the LCF fit shown in the 
> attached image.  Not great, but not the ridiculous result you were 
> getting with so many things done wrongly in your project file.
>
> I think that the underlying problem is that you expected Athena to 
> magically do the right thing with your data without verifying its 
> results.  Or, perhaps, you plowed forward without fully understanding 
> how to use the program.  The documentation isn't exactly exciting 
> reading, but it doesn't completely suck.  You might want to bookmark 
> its URL.
>
>
>> 2. If we see figure "ifeffitlist-sample39", we can see that the 
>> spectra has different slopes on the pre and post-edge region. When I 
>> used MBACK for background removal, the normalized spectra is weird, 
>> illustrated in "sample39-fig-norm.pdf". What is the best way to fix 
>> this issue? I have
>> 5 samples with this feature that I cannot process due to the weird 
>> normalized spectra.
> Well, MBACk isn't my thing, so I can only comment on it in general 
> terms.  I suspect that you would get better results if you severely 
> truncated your data, say from about 2455 to 2515.  Something wonky 
> happens in that spectrum at the beginning and the end.  I suspect that 
> MBACK is having trouble figuring out what part of the data is actually 
> the edge step.
>
>> 3. Regarding the self-absorption correction, I was not aware that 
>> Athena has this function. I will have a look at the manual again. 
>> Thank you for letting me know.
>    
> http://cars9.uchicago.edu/~ravel/software/doc/Athena/html/process/sa.h
> tml
>
> Again, not exciting ... doesn't suck ... bookmark.
>
> Here's a talk I gave at the University of Ghent last January on the 
> topic of self-absortion corrections.  It may be of some help to you:
>
>    http://cars9.uchicago.edu/~ravel/misc/selfabs.pdf
>
>> 4. With the 3rd derivative spectrum, I did indeed derive it from the 
>> normalized values. As you can see from the file I attached earlier, 
>> from the experts points of view, do you think I should go on with the 
>> Nth derivative spectra or due to the very low signal-to-noise ratio 
>> of the spectra, I should just focus on the absorption spectra?
> I don't really have an opinion one way or the other about the 3rd 
> derivative.  The folks from Stanford and CLS who do a lot of sulfur 
> work have made extensive use of the 3rd derivative and they are really 
> smart people.  I haven't done a lot of S work in my own career and 
> none of Athena's users have ever asked for a 3rd derivative option, so 
> Athena doesn't currently do that.
>
> B
>
> PS: Doesn't it just blow your mind how there is a strong correlation 
> between quality and clarity of the question and specificity of the 
> answer?  Amazing...!
>
>
>
>
> _______________________________________________
> Ifeffit mailing list
> Ifeffit at millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Hi Bruce,

I think I have to clarify that I used MBACK to do the normalization instead of ATHENA. This might as well explain why I got such a high value of y-axis offset, why you think I did not choose the right parameters for the "pre-edge" and "normalization range" and also why I imported the data as normalized mu(E) rather than mu(E). As mentioned in the manual, doing normalization in Athena is very subjective, tiny difference in the point chosen for both the "pre-edge region" and "normalization range" will result in different normalized spectra. Due to lack of experience in processing XAFS spectra and noisy spectra obtained, I was planning to eliminate this problem by using MBACK. My initial plan was to combine the benefit I can get from both ATHENA and MBACK. So, I did the normalization using MBACK, then do the self-absorption correction and fit the normalized spectra in ATHENA. 
However, looking at your comment, LCF in ATHENA requires edge-step normalization, by saying that, does it mean that I cannot normalized my spectra using MBACK then fit them in ATHENA?

Thanks,
Niken



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

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

Message: 2
Date: Thu, 8 Sep 2011 09:53:01 -0400
From: Bruce Ravel <bravel at bnl.gov>
To: XAFS Analysis using Ifeffit <ifeffit at millenia.cars.aps.anl.gov>
Subject: Re: [Ifeffit] Fitting on Athena
Message-ID: <201109080953.01576.bravel at bnl.gov>
Content-Type: Text/Plain;  charset="iso-8859-15"

On Wednesday, September 07, 2011 07:52:38 pm Niken Wijaya wrote:
> I think I have to clarify that I used MBACK to do the normalization 
> instead of ATHENA. This might as well explain why I got such a high 
> value of y-axis offset, why you think I did not choose the right 
> parameters for the "pre-edge" and "normalization range" and also why I 
> imported the data as normalized mu(E) rather than mu(E). As mentioned 
> in the manual, doing normalization in Athena is very subjective, tiny 
> difference in the point chosen for both the "pre-edge region" and 
> "normalization range" will result in different normalized spectra. Due 
> to lack of experience in processing XAFS spectra and noisy spectra 
> obtained, I was planning to eliminate this problem by using MBACK. My 
> initial plan was to combine the benefit I can get from both ATHENA and 
> MBACK. So, I did the normalization using MBACK, then do the 
> self-absorption correction and fit the normalized spectra in ATHENA.
> However, looking at your comment, LCF in ATHENA requires edge-step 
> normalization, by saying that, does it mean that I cannot normalized 
> my spectra using MBACK then fit them in ATHENA?

Niken,

So, you want to use MBACK because it is less subjective than Autobk.
How, then, do you then plan to do your self absorption correction in a similarly and defensibly rigorous manner?  I am suspicious that you have not thought this through very well.

Your original email suggested that you believed there to be a problem with Athena.  A cursory examination of your work -- once you actually did the favor of posting a project file -- made it clear to me that you are not using the program correctly.  Indeed, in one of your emails, you made it clear that you have never read the documentation.

I am unaware of a bug in Athena that precludes using data normalized outside of Athena to do LCF within Athena.  That may not be the mornal mode of operation, but it is a reasonable thing to want to do.  You must take care to import the data correctly and verify that the form of your data has been preserved before performing the LCF.  If you expect the program to magically do what you want rather then observing how the program actually behaves, it is unlikely that you will be satisfied with the results.

Is it possible that there is a bug that precludes Athena from doing this thing?  Of course.  A quick examination of the archives of this mailing list should make it clear that my software is *way* less than perfect.  So far, you have not given me any reason to belive that's the case.

B




-- 

 Bruce Ravel  ------------------------------------ bravel at bnl.gov

 National Institute of Standards and Technology  Synchrotron Methods Group at NSLS --- Beamlines U7A, X24A, X23A2  Building 535A  Upton NY, 11973

 My homepage:    http://xafs.org/BruceRavel
 EXAFS software:  http://cars9.uchicago.edu/ifeffit/Demeter


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

Message: 3
Date: Thu, 8 Sep 2011 09:12:43 -0500
From: Matt Newville <newville at cars.uchicago.edu>
To: XAFS Analysis using Ifeffit <ifeffit at millenia.cars.aps.anl.gov>
Subject: Re: [Ifeffit] Fitting on Athena
Message-ID:
	<CA+7ESbq89q0GsN8CuH0ZrBqAm5NajrnzZM9qsGY+08E-G8CJaQ at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Niken,

Have you compared MBACK to using the 'CLnorm' normalization in Athena
(found under "Background Removal Additional Parameters")?   The
algorithms are not identical, but have a lot in common, and would
probably make it easier to compare with other data in Athena.   If I
understand correctly, your sulfur spectra were not collected in fluorescence with a solid-state detector, so that part of what MBACK is really good at doesn't apply, and the CLnorm normalization is pretty close to other part of MBACK.

I'd be interested to know if you or anyone else has done a careful study comparing MBACK, CLnorm, and other normalization procedures.

--Matt


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

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


End of Ifeffit Digest, Vol 103, Issue 9
***************************************




More information about the Ifeffit mailing list