Re: [Ifeffit] about Farrel Lytle data of Na2WO4.2H2O

2009-02-01 Thread Carlo Segre


Hi Yordy:

I'm sorry.  The xdp module is one that was written here by my group to 
provide I/O for data files produced at our beamline.  I have packaged it 
for Debian but it is not out there for the general public yet.  In the 
program I sent you the xdp module is only used to write out the converted 
data is a file format that we call SFF (Simple File Format).


The xdp module is not necessary if you simply write out the converted data 
with a more normal set of commands.


Your email got me thinking though that I should finish the progrram and 
make it useful to others.  What I did, therefore, is to rewrite the 
program without the use of xdp and making it a bit more user-friendly.
It now also handles both of the filetypes that Matt mentioned on a 
previous post, and which are documented at


http://cars9.uchicago.edu/ifeffit/FAQ/Data_Handling#head-e7e2389af58d378379f3bbe2a827c73a6df2a42e

The program now runs fine under Python 2.5 (I don't know about 2.6 but let 
me know if it has problems!).  It is used as a standard *nix filter, that 
is, rename it to lytle_convert (or make a link to it) and make sure it 
is executable and in the executing PATH so the system can find it.


The program is invoked from the command line as

$lytle_convert file0 [file1 file2 file3 ... fileN]

It does take wildcards so you can process a bunch of files at once.  Since 
all the Lytle database files are of the form name.ext, the output file 
name is made to be name_ext.sff.


The program does its best to guess the steps per degree for the olert file 
type which does not include that information in the header.  The d-spacing 
is assumed to be 1.92017.  This may not work for all files (I have not 
checked and I didn't have time to put in more intelligence right now) so 
you might need to go in to modify the program to change these defaults.  I 
am thinking that I will add options to let the d-spacing and steps per 
degree be set on the command line but that will have to wait for later.


Enjoy!

Carlo

On Sat, 31 Jan 2009, Yordy Licea Fonseca wrote:


Hi Carlo,

I´ve installed Python 2.6 for Windows XP to run your code. Latter I've
installed a numpy 1.2.1 compiled for 2.6. I did neither find the
*Numeric *module
nor the *xdp* module you initialized first in the code. So I've intalled Py
2.4 version and again numpy, but didn not work.
In 2.6 there is a *math* module that works similar to *Numeric*. As I did
not find what *Numeric.zeros* does in line 32 I could not implement (if it
were possible) with *math.*
Could I use *xdrlib* module instead of *xdp?*
**
Would you send me or tell me please where to find those modules and which
Python you recommend me to install?

Best wishes, Yordy




2009/1/29 Carlo Segre se...@iit.edu


Ah, just premature sending...

Carlo

On Thu, 29 Jan 2009, Yordy Licea Fonseca wrote:

  Hi Carlo and Matt,


Thank you very much for your help.

Best wishes,

Yordy


On 29/01/2009, ifeffit-requ...@millenia.cars.aps.anl.gov 
ifeffit-requ...@millenia.cars.aps.anl.gov wrote:



Send Ifeffit mailing list submissions to
  ifeffit@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-requ...@millenia.cars.aps.anl.gov

You can reach the person managing the list at
  ifeffit-ow...@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. Trouble with fitting with Artemis (Juraci A. Sampaio)
 2. Re: Trouble with fitting with Artemis (Richard Mayes)
 3. about Farrel Lytle data of Na2WO4.2H2O (Yordy Licea Fonseca)
 4. Re: about Farrel Lytle data of Na2WO4.2H2O (Matt Newville)
 5. uncertainty in linear combination analysis (Pushan Shah)
 6. Artemis parameters (abhijeet gaur)
 7. Energy shift (Eugenio Otal)


--

Message: 1
Date: Wed, 28 Jan 2009 15:34:55 -0300
From: Juraci A. Sampaio jasamp...@hotmail.com
Subject: [Ifeffit] Trouble with fitting with Artemis
To: ifeffit@millenia.cars.aps.anl.gov
Message-ID: col107-w60310e438349ce1c72988aac...@phx.gbl
Content-Type: text/plain; charset=iso-8859-1


Hi there!I'm getting the following message when I try to fit my
data:WARNING.  The following variables had no effect on the fit:  !!  
amp   !!  
enot  !!  
delr  !!   ss The
data
that I am trying to fit is the Cu metal example that come with the
iffefit
package. I am running Artemis on a Mac, OSX 10.4.11.I could run the
fitting
on a mac OSX 10.5 and it worked fine. I reinstall the IXAFS package but
it
didn't work.I am wondering what could be wrong with my
machine/software?Thanks a lot.Juraci Sampaio

[Ifeffit] Lost second shell

2009-02-01 Thread Eugenio Otal
Hi all,
I am working with Er doped ZnO and the EXAFS measurements (Er L3) shows that
I have not a second shell when I perform the FT. I checked that the phase is
not destroying the signal, and that is not the guilty guy.
I have two possibilities, that the erbium is segregated on the surface of
the particles with a strong disordered phase that destroy second shell
information (XANES simulation are different from oxide and hydroxides) or
that the atoms are isolated in the surface of the particles.
Should I use the card for molecules for isolated atoms? And for the
disordered phase, what can I do?
Is there another possibility to lose the second shell?
Thanks in advance, euG
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Re: [Ifeffit] Lost second shell

2009-02-01 Thread Frenkel, Anatoly
 
Eugenio,
 
The possibilities depend on the actual data at hand. Not seeing second shell is 
a relative term. Do you mean that you do not see it above noise? Then, 
technically, you cannot say that you do not have a second shell. Er may 
substitute for Zn and you will still have Er-Zn contributions expected for ZnO 
structure, but they will be disordered due to the large DWF and thus hide 
under the noise level which can be estimated as the FT magnitude at high r. 
However, If the data is of high quality, and you see well defined first peak 
(Er-O) in r-space and have negligible noise level, then you may say, with 
confidence, that Er does not enter ZnO lattice substitutionally. 
Then, indeed, it may be a surface sorption of some sort which is usually 
accompanied by high disorder in the second shell, as was shown to be the case 
in similar examples, e.g., Pb sorption of iron oxides.
 
If you sent an image of your data in k-space and r-space it would be easier to 
judge.
 
Anatoly
 
 



From: ifeffit-boun...@millenia.cars.aps.anl.gov on behalf of Eugenio Otal
Sent: Sun 2/1/2009 9:52 PM
To: ifeffit@millenia.cars.aps.anl.gov
Subject: [Ifeffit] Lost second shell


Hi all,
I am working with Er doped ZnO and the EXAFS measurements (Er L3) shows that I 
have not a second shell when I perform the FT. I checked that the phase is not 
destroying the signal, and that is not the guilty guy. 
I have two possibilities, that the erbium is segregated on the surface of the 
particles with a strong disordered phase that destroy second shell information 
(XANES simulation are different from oxide and hydroxides) or that the atoms 
are isolated in the surface of the particles.
Should I use the card for molecules for isolated atoms? And for the disordered 
phase, what can I do?
Is there another possibility to lose the second shell?
Thanks in advance, euG

winmail.dat___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit