Results 1 to 8 of 8

Thread: Python, SciPy and graphics

  1. #1
    Join Date
    Sep 2007
    Location
    Québec/Canada
    Beans
    49
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Python, SciPy and graphics

    Hi,

    I'm trying to learn the Python language for scientific purpose. It appears there are a lot of different package for scientific graphics (both 2D and 3D). My question is : What is the best one available ? And, if anyone know where i can find a tutorial/reference of the NumPy package, it would be great too !
    Is there any specialized scientific Python forums out there ?

    Thanks !

  2. #2
    Join Date
    May 2006
    Beans
    26

    Re: Python, SciPy and graphics

    Travis Oliphant, the author of the numpy package and it's predecessor, numeric, publishes numpy documentation in a pdf format. It's not free, though.

    You should try scipy.org and enthought.com (chaco, mayavi) for advice and examples of scientific visulaization.

  3. #3
    Join Date
    Feb 2008
    Location
    US
    Beans
    2,782
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Python, SciPy and graphics

    take a look at sage: http://www.sagemath.org/

    It is basically a compilation of python packages and a nice interface.
    Desktop: Q6600 OC: 343 x 9, 4 GB RAM, 8600 GTS Twinview (22",17"), 1.5 TB RAID 5
    Laptop: Lenovo T61 T7300 @ 2 GHz, 2GB RAM, Nvidia 140M Quadro, 160 GB harddrive
    Remember to mark posts as [SOLVED] when your problem is resolved

  4. #4
    Join Date
    Dec 2004
    Location
    Manchester
    Beans
    2,086
    Distro
    Ubuntu Mate 15.10 Wily Werewolf

    Re: Python, SciPy and graphics

    i am using numpy and matplot lib to do lots of calculations and 2d plotting.

    http://matplotlib.sourceforge.net/screenshots.html shows the kind of stuff it is capable of.

  5. #5
    Join Date
    Feb 2007
    Location
    Boston, US
    Beans
    72
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: Python, SciPy and graphics

    Hi!
    I'm not an expert, but what I know I learned here:

    for Python
    http://docs.python.org/tut/tut.html
    (there is a lot of stuff. I guess what you really need are three things: an overview on different type pf data, control flow statements -if, for, while- and how to use and define functions)

    for Numpy
    http://www.scipy.org/Tentative_NumPy_Tutorial

    for Scipy
    http://www.rexx.com/~dkuhlman/scipy_course_01.html
    (but there is no point in studying it from top down. Scipy is basically a collection of functions. Whenever you think you need something you can look it up)

    For plotting I use Matplotlib
    http://matplotlib.sourceforge.net/

    Then,if you are stuck with something you can try with google: there are many more resources out there.

    Best

  6. #6
    Join Date
    Jan 2008
    Location
    Wimbledon
    Beans
    112
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Python, SciPy and graphics

    I have just started using python for scientific purposes. I have started with Sage, but I did not like it. Too much focused on mathematical algebra rather than numerical computations. I am sure I can do the same with Sage as I do now, but it was a typical 'Can't see the forest through the trees' and I only installed what I needed: numpy, scipy, matlibplot and the native python editor is replaced by ipython.

    When you are familiar with python and the other libraries you should have a look at pypy to streamline your code and maybe freeze to create executables in Linux.

  7. #7
    Join Date
    Jan 2007
    Location
    Atlanta, GA
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Python, SciPy and graphics

    for python, learning the numpy package is a must. the best graphical package i found was matplot by a long shot. i've never done much in 3d, but for 2d stuff it literally has everything...and you can easily embed it in gui applications.

    of course, you can use any plotting package that you can call from the command line by importing the standard os module and calling os.system.

  8. #8
    Join Date
    Dec 2004
    Location
    Manchester
    Beans
    2,086
    Distro
    Ubuntu Mate 15.10 Wily Werewolf

    Re: Python, SciPy and graphics

    the numpy book is free (public domain) now. http://www.tramy.us/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •