[SciPy-user] wofz and optimized Humlicek algorithm.

Robert Kern robert.kern at gmail.com
Wed Apr 19 11:32:57 EDT 2006


morovia wrote:
>  
> Hi,
> 
>     I would like to know if anyone had tried on wofz and the optimized
> Humlicek algorithm for the voigt algorithm developed by F.
> Schreier (Courtesy : http://www.op.dlr.de/ne-oe/ir/voigt.html).  I dont
> know about the license issue of this code but nice to use the optimized
> one to save computation time.
> 
> I tried to f2py the above code but since I am using enthought
> edition of scipy it demands visual studio.

Use --compiler=mingw32 on the appropriate commands. If you are building from a
setup.py, you would do

  $ python setup.py build_src build_clib --compiler=mingw32 build_ext
--compiler=mingw32

I forget what you would do when using the f2py2e script, though.

-- 
Robert Kern
robert.kern at gmail.com

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the SciPy-User mailing list