[Ifeffit] data file format

Matthew MAMarcus at lbl.gov
Wed Jun 21 12:43:21 CDT 2006

Thanks.  I didn't mean to imply that the EOL problem was not dealt with
properly by A&A, just that I
didn't know if it was dealt with properly.  That was a confession of
ignorance rather than a statement of fact.
----- Original Message ----- 
From: "Bruce Ravel" <bravel at anl.gov>
To: "XAFS Analysis using Ifeffit" <ifeffit at millenia.cars.aps.anl.gov>
Sent: Wednesday, June 21, 2006 6:52 AM
Subject: Re: [Ifeffit] data file format

> On Wednesday 21 June 2006 03:25, emmanuelle montarges-pelletier wrote:
> > Hello
> > I have some problems with data file format as I try to import exafs
> > files in Artemis or in Athena.
> > I am working on a powerbook G4, with OSX 10.4.6. I installed the
> > ifeffit package, including Athena and Artemis.  Athena could open any
> > XAS "raw" file from fluorescence or transmission measurements.
> > However, if I perform any modifications on these raw files with
> > exterior programs (Michalowicz programs, Kaleidagraph)  and try to
> > import the new files , saved as text files, Athena or Arthemis can
> > not open them. I guess it may come from the encoding of the text
> > file. Do you have any clue on this encoding issue? Do you know any
> > program which would allow me to transform these text files in
> > readable files for Artemis?
> > Thank you for your answer
> Salut Emmanuelle,
> Matthew's suggestion of floats with commas is a good suggestion.  A&A
> make no attempt at respecting localization.  (That is, a number
> between one and two might be written as 1,234 -- which would confuse
> A&A -- rather than 1.234.)  If that is the case, your best bet is to
> go back to the exterior program and ask it nicely to write out points
> instead of commas.  Or you might need to edit the file by hand.
> I thought that the end-of-line issue (Matthew's other suggestion) was
> one that was solved in A&A years ago.  If that proves not to be the
> case, please let me know.
> Another possibility is that the exterior program added other text to
> the file that is confusing A&A.  Here is my explanation of how Athena
> reads ascii data files
>    http://cars9.uchicago.edu/iffwiki/FAQ/HoraeQuestions
> and here is the explanation of the file-reading function in Ifeffit
> which Athena uses:
>    http://cars9.uchicago.edu/~ifeffit/refman/node24.html
> The situation in Artemis is similar, although restricted in the sense
> that Artemis is expecting its data to be chi(k).
> If none of that clarifies the issue for you, I'll need to see an
> example of the data file which is causing the problem.
> The easiest way to move data from Athena to Artemis is to have Artemis
> import its data directly from the Athena project file.
> If there is some data processing feature that Athena does not do but
> which you require before moving on to data analysis, you should
> consider making a feature request here on the mailing list.  Athena
> will never get the features that you need if I am not aware that they
> are needed!
> B
> -- 
>  Bruce Ravel  ---------------------------------------------- 
bravel at anl.gov
>  Molecular Environmental Science Group, Building 203, Room E-165
>  MRCAT, Sector 10, Advanced Photon Source, Building 433, Room B007
>  Argonne National Laboratory         phone and voice mail: (1) 630 252
>  Argonne IL 60439, USA                                fax: (1) 630 252
>  My homepage:    http://cars9.uchicago.edu/~ravel
>  EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
> _______________________________________________
> Ifeffit mailing list
> Ifeffit at millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit

More information about the Ifeffit mailing list