On Tuesday 11 March 2003 01:16 pm, Carlo U. Segre wrote:
Following our previous discussion of rebinning continuous scan data, I am attaching a python code fragment which we use to perform this function. You are free to use it as you like. It was written by Ken McIvor, a student at IIT as part of a larger project to manipulate and preview MR-CAT XAFS data. We simply pulled out the code and annotated it somewhat.
Very cool! I will be very happy to add rebinning to Athena. I must say that I am very pleased to see our mailing list working so well. To receive not just a suggestion but a fleshed out algorithm suggests that our little community here is starting to work very well. I was also pleased that Ken did such a good job commenting the code. It was very easy to read and to understand what was going on. Thanks! B -- Bruce Ravel ----------------------------------- ravel@phys.washington.edu Code 6134, Building 3, Room 222 Naval Research Laboratory phone: (1) 202 767 5947 Washington DC 20375, USA fax: (1) 202 767 1697 NRL Synchrotron Radiation Consortium (NRL-SRC) Beamlines X11a, X11b, X23b, X24c, U4b National Synchrotron Light Source Brookhaven National Laboratory, Upton, NY 11973 My homepage: http://feff.phys.washington.edu/~ravel EXAFS software: http://feff.phys.washington.edu/~ravel/software/exafs/