Dear Matt and Carlo I was speaking about windows, sorry for the imprecision. I tested today the file sent by Matt, on my computer all seems to work fine with Python 2.6. Cheers Carmelo Quoting ifeffit-request@millenia.cars.aps.anl.gov:
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-request@millenia.cars.aps.anl.gov
You can reach the person managing the list at ifeffit-owner@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. python 2.6 wrapper (Carmelo Prestipino) 2. Re: python 2.6 wrapper (Carlo Segre) 3. Re: python 2.6 wrapper (Matt Newville) 4. Re: Ifeffit (Matt Newville) 5. Re: Ifeffit (Cl?ment Levard)
----------------------------------------------------------------------
Message: 1 Date: Fri, 06 Nov 2009 10:50:25 +0100 From: Carmelo Prestipino
To: ifeffit@millenia.cars.aps.anl.gov Subject: [Ifeffit] python 2.6 wrapper Message-ID: <20091106105025.gifreaxeogoc440g@160.103.2.152> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Dear All I upgraded my my python version on 2.6, I was wondering if is it available a new Ifeffit wrapper for this version? Best regards Carmelo
--
--------------------------------------- Dr. Carmelo Prestipino European Synchrotron Radiation Facility BP220, 38043 Grenoble Cedex, FRANCE Tel: +33 (0)4 38 88 19 29 ---------------------------------------
------------------------------
Message: 2 Date: Fri, 6 Nov 2009 07:46:55 -0600 (CST) From: Carlo Segre
To: XAFS Analysis using Ifeffit Subject: Re: [Ifeffit] python 2.6 wrapper Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed What is your operating system? The gifeffit progrm should work fine with most versions of python.
Carlo
On Fri, 6 Nov 2009, Carmelo Prestipino wrote:
Dear All I upgraded my my python version on 2.6, I was wondering if is it available a new Ifeffit wrapper for this version? Best regards Carmelo
-- Carlo U. Segre -- Professor of Physics Associate Dean for Graduate Admissions, Graduate College Illinois Institute of Technology Voice: 312.567.3498 Fax: 312.567.3494 segre@iit.edu http://www.iit.edu/~segre segre@debian.org
------------------------------
Message: 3 Date: Fri, 6 Nov 2009 10:46:46 -0600 From: Matt Newville
To: XAFS Analysis using Ifeffit Subject: Re: [Ifeffit] python 2.6 wrapper Message-ID: Content-Type: text/plain; charset="iso-8859-1" Hi Carmelo, Carlo,
As Carlo says, on linux there should be no problem with the older build system.... I'm using python2.6 and Ifeffit on linux.
So, I'll assume you're asking about Windows. I do not yet have an executable installer for Python2.6 on Windows. But, if you're brave, I have something for you to try. In fact, just this past week, as part of a move to a new Windows build system (see http://cars9.uchicago.edu/ifeffit/MingwBuild), I've moved from using a C extension for Python to using Python's ctypes library. This means that the Ifeffit-Python interface is in pure Python and uses the DLL directly, which is much better than the previous situation.
I've tested this with python 2.6 and it works for me on both Windows and linux, with very minor differences between them. The result (Ifefffit.py attached) should be viewed as "beta testing" stage -- If you try it out, I'd love to hear about any issues you have with it. I don't have a nice installer for this, but you should be able to put this in any folder that Python will find it. If you don't have Ifeffit installed to C:\Program Files\Ifeffit, you may need to alter the top of the script (the set_environ function).
Cheers,
--Matt
On Fri, Nov 6, 2009 at 3:50 AM, Carmelo Prestipino
wrote: Dear All I upgraded my my python version on 2.6, I was wondering if is it available a new Ifeffit wrapper for this version? Best regards Carmelo
--
--------------------------------------- Dr. Carmelo Prestipino European Synchrotron Radiation Facility BP220, 38043 Grenoble Cedex, FRANCE Tel: +33 (0)4 38 88 19 29 --------------------------------------- _______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit