[Ifeffit] Athena- Demeter 0.9.14 importing data

Bruce Ravel bravel at bnl.gov
Mon May 13 13:49:21 CDT 2013


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




More information about the Ifeffit mailing list