[Ifeffit] Athena- Demeter 0.9.14 importing data

abansode at iciq.es abansode at iciq.es
Mon May 13 14:47:43 CDT 2013


Hi Bruce,
Thanks for the message !
I fully agree with you regarding the first column of data files.

At the end, I was averaging my data files with written macro but seems it 
would be much more easier to process the files directly.
I highly appreciate your efforts towards the solution of this problem.

Thank a ton !

Best regards
Atul

-----Original Message----- 
From: Bruce Ravel
Sent: Monday, May 13, 2013 8:49 PM
To: XAFS Analysis using Ifeffit
Subject: Re: [Ifeffit] Athena- Demeter 0.9.14 importing data

On Saturday, May 04, 2013 05:21:51 PM abansode at iciq.es wrote:
> Well I wasn’t aware of that actually !
> Herewith I am attaching 4 data files. The energy is column no. 2, 
> numerator
> -12 and denominator is 13,14

Atul,

You are correct.  Athena does the wrong thing when importing multiple
files.  Although it remembers your column selection, it keeps
resetting the choice of energy units.

As Matt pointed out, the reason for this is the annoying and useless
first column of your data files.  Point number?  That's kind of silly.

Athena attempts to use some smarts when importing data.  One of the
tests it does is on the contents of the first column in an effort to
determine whether the data were recorded in eV, keV, or some other
unit.  "Point number" matches the simple test Athena uses to recognize
keV units.  That's not the part that needs fixing.  (Well, OK, maybe
it could be better, but it's not the thing I am going to fix!)

The part that needs fixing is that, while Athena is rememberiong the
column selection from the last time you imported a similar data file,
it is not remembering the energy units.  I am going to work on that
this afternoon.  Whenever I make a new release, this will be fixed.

For now, the work-around is to import you data one at a time.
Alternately, write yourself a little program that strips the first
column out of all your data files.  Alternate #2, write yourself a
Athena filetype plugin that recognizes the file type and scrubs the
first column.

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

Homepage:    http://xafs.org/BruceRavel
Software:    https://github.com/bruceravel

_______________________________________________
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