Robert Cimrman | 2 Sep 14:14
Picon

ANN: SfePy-00.50.00

I am pleased announce the release of SfePy 00.50.00.

SfePy is a finite element analysis software in Python, based primarily
on Numpy and SciPy.

Mailing lists, issue tracking, mercurial repository: http://sfepy.org
Home page: http://sfepy.kme.zcu.cz

People who contributed to this release: Ondrej Certik, Ryan Krauss, 
Vladimir Lukes.

Major improvements:
- finite strain elasticity: neo-Hookean, Mooney-Rivlin materials in the 
total Lagrangian (TL) formulation
- solving problems in complex numbers
- generalized equations to allow linear combination of terms
- run-time type of state term arguments
- refactoring to follow Python coding style guidelines
- new terms

For more information on this release, see
http://sfepy.googlecode.com/svn/web/releases/005000_RELEASE_NOTES.txt

Best regards,
Robert Cimrman
David Cournapeau | 3 Sep 04:59
Picon
Picon

Is it ok to start a signal/speech toolbox in scikits ?

Hi,

    I know there is no formal process, but just wanted to check whether
anyone would be against starting a speech/signal toolbox in scikits. The
idea is to provide things which where in my sandbox before, but are
relatively general (lpc, music and other high resolution methods
available in matlab signal toolbox), as well as more speech oriented
stuff (mfcc, etc...). The code would be as much BSD as possible, so that
some of it may be included in scipy later if deemed useful.

cheers,

David
Jarrod Millman | 3 Sep 07:04
Picon
Favicon
Gravatar

Re: Is it ok to start a signal/speech toolbox in scikits ?

On Tue, Sep 2, 2008 at 7:59 PM, David Cournapeau
<david <at> ar.media.kyoto-u.ac.jp> wrote:
>    I know there is no formal process, but just wanted to check whether
> anyone would be against starting a speech/signal toolbox in scikits. The
> idea is to provide things which where in my sandbox before, but are
> relatively general (lpc, music and other high resolution methods
> available in matlab signal toolbox), as well as more speech oriented
> stuff (mfcc, etc...). The code would be as much BSD as possible, so that
> some of it may be included in scipy later if deemed useful.

That sounds great.  Once you get started, we can take a closer look
and give you some feedback.

Thanks,

--

-- 
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/
Jarrod Millman | 3 Sep 08:16
Picon
Favicon
Gravatar

1.2.0rc1 tagged!

Hello,

The 1.2.0rc1 is now available:
http://svn.scipy.org/svn/numpy/tags/1.2.0rc1

The source tarball is here:
https://cirl.berkeley.edu/numpy/numpy-1.2.0rc1.tar.gz

Here is the universal Mac binary:
https://cirl.berkeley.edu/numpy/numpy-1.2.0rc1-py2.5-macosx10.5.dmg

Here are the Window's binaries:
http://www.ar.media.kyoto-u.ac.jp/members/david/archives/numpy/numpy-1.2.0rc1-win32-superpack-python2.4.exe
http://www.ar.media.kyoto-u.ac.jp/members/david/archives/numpy/numpy-1.2.0rc1-win32-superpack-python2.5.exe

Here are the release notes:
http://scipy.org/scipy/numpy/milestone/1.2.0

Please test this release ASAP and let us know if there are any
problems.  If there are no show stoppers, this will likely become the
1.2.0 release.

Thanks,

--

-- 
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/
(Continue reading)

Alan McIntyre | 3 Sep 18:22
Picon

scipy.cluster.distance.yule print statement

There's a print statement in scipy/cluster/distance.py:yule that
creates an enormous amount of output when the SciPy test suite is run.
 Can that be commented out or removed?
Travis E. Oliphant | 3 Sep 18:26

Re: Is it ok to start a signal/speech toolbox in scikits ?

David Cournapeau wrote:
> Hi,
>
>     I know there is no formal process, but just wanted to check whether
> anyone would be against starting a speech/signal toolbox in scikits. The
> idea is to provide things which where in my sandbox before, but are
> relatively general (lpc, music and other high resolution methods
> available in matlab signal toolbox), as well as more speech oriented
> stuff (mfcc, etc...). The code would be as much BSD as possible, so that
> some of it may be included in scipy later if deemed useful.
>
>   
Sounds great.

-Travis
Robert Kern | 3 Sep 21:31
Picon
Gravatar

Re: scipy.cluster.distance.yule print statement

On Wed, Sep 3, 2008 at 11:22, Alan McIntyre <alan.mcintyre <at> gmail.com> wrote:
> There's a print statement in scipy/cluster/distance.py:yule that
> creates an enormous amount of output when the SciPy test suite is run.
>  Can that be commented out or removed?

Done.

--

-- 
Robert Kern

"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
Uwe Schmitt | 4 Sep 14:54
Picon

numpy.distuils question

Hi,

Thanks to the document team I managed to write a setup.py file which
builds an extension module with f2py.
My problem is to install further Python files.

My directory looks like this:

setup.py
module.pyf
module.f
my_new_package/
    __init__.py
    modulewrapper.py

the modulewrapper loads module.pyd.

setup.py looks like this:
def configuration(parent_package='',top_path=None):
    from numpy.distutils.misc_util import Configuration
    config = Configuration('my_new_package',parent_package,top_path)

    config.add_extension('module',
                         sources = ['module.pyf', 'module.f']
             )

    return config

if __name__ == "__main__":
    from numpy.distutils.core import setup
    setup(**configuration(top_path='').todict())


How do I have to change/extend setup.py ?

Greetings, Uwe
-- Dr. rer. nat. Uwe Schmitt F&E Mathematik mineway GmbH Science Park 2 D-66123 Saarbrücken Telefon: +49 (0)681 8390 5334 Telefax: +49 (0)681 830 4376 uschmitt <at> mineway.de www.mineway.de Geschäftsführung: Dr.-Ing. Mathias Bauer Amtsgericht Saarbrücken HRB 12339
_______________________________________________
Scipy-dev mailing list
Scipy-dev <at> scipy.org
http://projects.scipy.org/mailman/listinfo/scipy-dev
Charles Doutriaux | 5 Sep 19:02

Re: numpy.distuils question

Uwe,

I'm attaching an example of setup.py i have that does what you want.

I have the strucutre:
setup.py
  Lib/
    __init__.py
    ...python files ....
  Src/
     ..fortran or C files ...

Hope this helps.
C.

Note that I also have a .pyf file just to make the i/o to f2py a bit 
cleaner but it is not necessary

C.

Uwe Schmitt wrote:
> Hi,
>
> Thanks to the document team I managed to write a setup.py file which
> builds an extension module with f2py.
> My problem is to install further Python files.
>
> My directory looks like this:
>
>     setup.py
>     module.pyf
>     module.f
>     my_new_package/
>         __init__.py
>         modulewrapper.py
>
>
> the modulewrapper loads module.pyd.
>
> setup.py looks like this:
>
>     def configuration(parent_package='',top_path=None):
>         from numpy.distutils.misc_util import Configuration
>         config = Configuration('my_new_package',parent_package,top_path)
>
>         config.add_extension('module',
>                              sources = ['module.pyf', 'module.f']
>                  )
>
>         return config
>
>     if __name__ == "__main__":
>         from numpy.distutils.core import setup
>         setup(**configuration(top_path='').todict())
>
>
>
> How do I have to change/extend setup.py ?
>
> Greetings, Uwe
> -- 
> Dr. rer. nat. Uwe Schmitt
> F&E Mathematik
>  
> mineway GmbH
> Science Park 2
> D-66123 Saarbrücken
>  
> Telefon: +49 (0)681 8390 5334
> Telefax: +49 (0)681 830 4376
>  
> uschmitt <at> mineway.de
> www.mineway.de
>  
> Geschäftsführung: Dr.-Ing. Mathias Bauer
> Amtsgericht Saarbrücken HRB 12339
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev <at> scipy.org
> http:// projects.scipy.org/mailman/listinfo/scipy-dev
>   
Attachment (setup.py): text/x-python, 926 bytes
_______________________________________________
Scipy-dev mailing list
Scipy-dev <at> scipy.org
http://projects.scipy.org/mailman/listinfo/scipy-dev
Uwe Schmitt | 5 Sep 19:08
Picon

Re: numpy.distuils question

Thanks, I will try it.

Greetings, Uwe

Am 05.09.2008 um 19:02 schrieb Charles Doutriaux:

> Uwe,
>
> I'm attaching an example of setup.py i have that does what you want.
>
> I have the strucutre:
> setup.py
> Lib/
>   __init__.py
>   ...python files ....
> Src/
>    ..fortran or C files ...
>
> Hope this helps.
> C.
>
> Note that I also have a .pyf file just to make the i/o to f2py a bit  
> cleaner but it is not necessary
>
> C.
>
> Uwe Schmitt wrote:
>> Hi,
>>
>> Thanks to the document team I managed to write a setup.py file which
>> builds an extension module with f2py.
>> My problem is to install further Python files.
>>
>> My directory looks like this:
>>
>>    setup.py
>>    module.pyf
>>    module.f
>>    my_new_package/
>>        __init__.py
>>        modulewrapper.py
>>
>>
>> the modulewrapper loads module.pyd.
>>
>> setup.py looks like this:
>>
>>    def configuration(parent_package='',top_path=None):
>>        from numpy.distutils.misc_util import Configuration
>>        config =  
>> Configuration('my_new_package',parent_package,top_path)
>>
>>        config.add_extension('module',
>>                             sources = ['module.pyf', 'module.f']
>>                 )
>>
>>        return config
>>
>>    if __name__ == "__main__":
>>        from numpy.distutils.core import setup
>>        setup(**configuration(top_path='').todict())
>>
>>
>>
>> How do I have to change/extend setup.py ?
>>
>> Greetings, Uwe
>> -- 
>> Dr. rer. nat. Uwe Schmitt
>> F&E Mathematik
>> mineway GmbH
>> Science Park 2
>> D-66123 Saarbrücken
>> Telefon: +49 (0)681 8390 5334
>> Telefax: +49 (0)681 830 4376
>> uschmitt <at> mineway.de
>> www.mineway.de
>> Geschäftsführung: Dr.-Ing. Mathias Bauer
>> Amtsgericht Saarbrücken HRB 12339
>>
>>   
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Scipy-dev mailing list
>> Scipy-dev <at> scipy.org
>> http:// projects.scipy.org/mailman/listinfo/scipy-dev
>>
> import sys,os
> target_prefix = sys.prefix
> for i in range(len(sys.argv)):
>    a = sys.argv[i]
>    if a=='--prefix':
>        target_prefix=sys.argv[i+1]
>    sp = a.split("--prefix=")
>    if len(sp)==2:
>        target_prefix=sp[1]
> sys.path.insert(0,os.path.join(target_prefix,'lib','python%i.%i' %  
> sys.version_info[:2],'site-packages'))
> from numpy.distutils.core import Extension
> import sys
>
> sources = """
> Src/msuweight.f
> """.split()
>
> extra_link_args=[]
> if sys.platform=='darwin':
>    extra_link_args = ['-bundle','-bundle_loader '+sys.prefix+'/bin/ 
> python']
> ext1 = Extension(name = 'eqmsu',
>                 extra_link_args=extra_link_args,
>                 sources = ['Src/eqmsu.pyf',]+sources)
>
> if __name__ == "__main__":
>    from numpy.distutils.core import setup
>    setup(name = 'MSU',
>          ext_modules = [ext1,],
>          packages = ['MSU'],
>          package_dir = {'MSU': 'Lib',
>                     },
>          )
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev <at> scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev

Gmane