15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SciPy Reference Guide, Release 0.8.dev<br />

However, until the 1.0 release, we are aggressively reviewing and refining the functionality, organization, and interface.<br />

This is being done in an effort to make the package as coherent, intuitive, and useful as possible. To achieve this, we<br />

need help from the community of users. Specifically, we need feedback regarding all aspects of the project - everything<br />

- from which algorithms we implement, to details about our function’s call signatures.<br />

Over the last year, we have seen a rapid increase in community involvement, and numerous infrastructure improvements<br />

to lower the barrier to contributions (e.g., more explicit coding standards, improved testing infrastructure, better<br />

documentation tools). Over the next year, we hope to see this trend continue and invite everyone to become more<br />

involved.<br />

2.1.1 Python 2.6 and 3.0<br />

A significant amount of work has gone into making SciPy compatible with Python 2.6; however, there are still some<br />

issues in this regard. The main issue with 2.6 support is NumPy. On UNIX (including Mac OS X), NumPy 1.2.1<br />

mostly works, with a few caveats. On Windows, there are problems related to the compilation process. The upcoming<br />

NumPy 1.3 release will fix these problems. Any remaining issues with 2.6 support for SciPy 0.7 will be addressed in<br />

a bug-fix release.<br />

Python 3.0 is not supported at all; it requires NumPy to be ported to Python 3.0. This requires immense effort, since a<br />

lot of C code has to be ported. The transition to 3.0 is still under consideration; currently, we don’t have any timeline<br />

or roadmap for this transition.<br />

2.1.2 Major documentation improvements<br />

SciPy documentation is greatly improved; you can view a HTML reference manual online or download it as a PDF<br />

file. The new reference guide was built using the popular Sphinx tool.<br />

This release also includes an updated <strong>tutorial</strong>, which hadn’t been available since SciPy was ported to NumPy in<br />

2005. Though not comprehensive, the <strong>tutorial</strong> shows how to use several essential parts of Scipy. It also includes the<br />

ndimage documentation from the numarray manual.<br />

Nevertheless, more effort is needed on the documentation front. Luckily, contributing to Scipy documentation is now<br />

easier than before: if you find that a part of it requires improvements, and want to help us out, please register a user<br />

name in our web-based documentation editor at http://docs.<strong>scipy</strong>.org/ and correct the issues.<br />

2.1.3 Running Tests<br />

NumPy 1.2 introduced a new testing framework based on nose. Starting with this release, SciPy now uses the new<br />

NumPy test framework as well. Taking advantage of the new testing framework requires nose version 0.10, or later.<br />

One major advantage of the new framework is that it greatly simplifies writing unit tests - which has all ready paid off,<br />

given the rapid increase in tests. To run the full test suite:<br />

>>> import <strong>scipy</strong><br />

>>> <strong>scipy</strong>.test(’full’)<br />

For more information, please see The NumPy/SciPy Testing Guide.<br />

We have also greatly improved our test coverage. There were just over 2,000 unit tests in the 0.6.0 release; this release<br />

nearly doubles that number, with just over 4,000 unit tests.<br />

124 Chapter 2. Release Notes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!