Re: [Ifeffit] Ifeffit Digest, Vol 174, Issue 8

2017-08-17 Thread Carmelo Prestipino
top icon to see where that is.  In that folder is the
> "dathena.bat" file which the Athena desktop icon points at.
> >
> > You should also find a file called "lathena.bat".  Try running that or
> pointing your desktop icon at it instead.
> >
> > The difference between "lathena.bat" and "dathena.bat" is line 25 that
> sets an environment variable that Demeter uses to decide which of ifeffit
> or larch to use.
> >
> > Obviously, there are number of other ways to get this environment
> variable set.  The bottom line is, yes, there is a switch.  The switch is
> the DEMETER_BACKEND environment variable.
> >
> > Unfortunately, that switch cannot be in the configuration files,
> although what you tired in item 2 of your email was a sensible guess. It
> turns out that the choice of larch/ifeffit has to made long before the
> configuration files are read.
> >
> > Do let me know how you get on.  While Demeter + larch should work, there
> are still almost certainly problems.  I need to get a new version of the
> Demeter installer out soon, so it would be nice to get some feedback in
> this area.
> >
> > As for using Demeter + larch + 100s of file -- it should work after a
> fashion.  But I worry that Athena's performance might not be what you are
> hoping for.  Athena does a lot of things that are more user-friendly than
> performance-friendly
> >
> >
> > Cheers,
> > B
> >
> >
> > On 08/15/2017 06:10 AM, ASAKURA, Hiroyuki wrote:
> >> Dear all,
> >>
> >> I would like to use the latest Larch as backend for Athena and Artemis
> on Windows to handle hundreds of XAS data (, hopefully).
> >> But, I'm stuck. I would appreciate any comments and suggestions.
> >>
> >> Matt announced it is now possible on this list, but I still cannot do
> it on Windows.
> >>
> >> [Ifeffit] Larch 0.9.33
> >> http://millenia.cars.aps.anl.gov/pipermail/ifeffit/2017-
> April/009091.html
> >>
> >>> The "server mode" for Athena and Artemis now works on all platforms
> and I
> >>> strongly encourage everyone to use this over the ifeffit back end.
> >>
> >> Here is what I did.
> >>
> >> Environment:
> >> Windows 10 Pro (Japanese)
> >> Demeter 0.9.25 (via official website)
> >> Python 3.6 (official distribution)
> >>
> >> 1. Installation of the latest Larch
> >>
> >>> git clone https://github.com/xraypy/xraylarch.git (sha1:
> 5a372cfe1368a8ac10c2ebfc5bef4e9a9a325f6d)
> >>> cd xraylarch
> >>> python setup.py install
> >> # Some dependency related to XRD is not fulfilled.
> >>
> >> 2. Start Larch server
> >>
> >>> cd %LOCALAPPDATA%\Programs\Python\Python36\Scripts
> >>> python larch_server start
> >> larch_server port=4966: started
> >>
> >> I found a parameter of peakfit backend in demeter.ini and changed to
> larch, but did not work (as expected).
> >>
> >> In the dathena.log, Athena still uses ifeffit as backend.
> >>
> >>> perl version: v5.18.2
> >>> backend: ifeffit
> >>
> >> Should I compile Demeter package by myself to use the Larch backend?
> >> Or, is there any "switch" to use Larch?
> >>
> >> Thanks in advance,
> >>
> >> ASAKURA, Hiroyuki
> >>
> >>
> >
> >
>
> --
> ASAKURA, Hiroyuki (Ph.D)
> Program-Specific Assistant Professor (ESICB)
> T. Tanaka Lab., ESICB, Kyoto University, Japan
> asak...@moleng.kyoto-u.ac.jp
> http://www.moleng.kyoto-u.ac.jp/~moleng_04/asakura/
>
>
> --
>
> Subject: Digest Footer
>
> ___
> Ifeffit mailing list
> Ifeffit@millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
> Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
>
>
> --
>
> End of Ifeffit Digest, Vol 174, Issue 8
> ***
>



-- 
Carmelo Prestipino
Sciences Chimiques de Rennes, UMR 6226
Solid State and Materials Chemistry group (CSM)
Campus de Beaulieu, Bât 10B, bureau 123
263 avenue du Général Leclerc
F-35042 RENNES
France
Tel: (+33) 22323 6531
FAX: (+33) 22323 5959
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


Re: [Ifeffit] Ifeffit Digest, Vol 109, Issue 23

2012-03-31 Thread Carmelo Prestipino
.   It also has the possibility of using
 multicore machines well, but this has not yet been automated.   It is
 also possible that the linear algebra techniques used for x-ray
 fluorescence map analysis, including code from Gerd Wellenreuther and
 Armando Sole would be useful for your needs.

  Probably due to the limited memory of my pc, I can only open around
  200 spectra simultanously with Athena.

 You almost certainly want to not use Athena here anyway.   You want
 automated processing programs.

 Like Bruce hinted at, you've invested heavily in a detector that
 allows you to collect data at a rate orders of magnitude faster than
 you could before.  It would have been incredibly naive to believe that
 decade-old software would have been able to keep up with that.   This
 is a good opportunity for you to help out yourself and others.

 Cheers,

 --Matt


 --

 ___
 Ifeffit mailing list
 Ifeffit@millenia.cars.aps.anl.gov
 http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


 End of Ifeffit Digest, Vol 109, Issue 23
 




-- 
Carmelo Prestipino
Sciences Chimiques de Rennes UMR 6226
Solid State and Materials Chemistry group (CSM)
Campus de Beaulieu, Bât 10B, bureau 122
F-35042 RENNES
France
Tel: (+33) 22323 6531
FAX: (+33) 22323 5959
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Re: [Ifeffit] python 2.6 wrapper

2009-11-09 Thread Carmelo Prestipino

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-requ...@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-requ...@millenia.cars.aps.anl.gov

You can reach the person managing the list at
ifeffit-ow...@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 carmelo.prestip...@esrf.fr
To: ifeffit@millenia.cars.aps.anl.gov
Subject: [Ifeffit] python 2.6 wrapper
Message-ID: 20091106105025.gifreaxeogoc4...@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 se...@iit.edu
To: XAFS Analysis using Ifeffit ifeffit@millenia.cars.aps.anl.gov
Subject: Re: [Ifeffit] python 2.6 wrapper
Message-ID: alpine.deb.1.10.0911060746230.3...@arsenide.iit.edu
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.3498Fax: 312.567.3494
se...@iit.edu   http://www.iit.edu/~segre   se...@debian.org


--

Message: 3
Date: Fri, 6 Nov 2009 10:46:46 -0600
From: Matt Newville newvi...@cars.uchicago.edu
To: XAFS Analysis using Ifeffit ifeffit@millenia.cars.aps.anl.gov
Subject: Re: [Ifeffit] python 2.6 wrapper
Message-ID:
b8522e3d0911060846t6f7bea35j83dbff53c6c58...@mail.gmail.com
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
carmelo.prestip...@esrf.fr 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



-- next part --
A non-text attachment was scrubbed...
Name: Ifeffit.py
Type: application/octet-stream
Size: 9195 bytes
Desc: not available
URL