spm1d

Detailed installation (Python)

Python users

spm1d requires the following packages:

Newer or older versions may work but have not been tested.

Once those packages are installed, open a Terminal (Linux, Mac) or a Command Prompt (Windows) and enter:

easy_install spm1d

To check installation:

>>> import spm1d

New to Python?

Python is a free-and-open-source object-oriented programming language.

To install Python we highly recommend Enthought Canopy.

The free (as in beer) Canopy Express installation contains all of the libraries you will need to get started with spm1d.

Enthought also offers a free (as in beer) academic license for users who may want additional functionality.

After Canopy is installed, open a Terminal (Linux, Mac) or a Command Prompt (Windows) and enter:

easy_install spm1d

After that command finishes running, launch an interactive Python session by entering:

ipython

To check installation enter the following command at the Python command prompt:

>>> import spm1d

If there are no error messages generated then congratulations, you’re ready to go!

Python resources

A variety of online resources exist for learning Python. If you are new to Python the best place to start might be the main Python documentation site:

Matlab users may find these documents useful:

Other helpful documentation can be found here:

Book suggestions:

  • Chun WJ (2006) Core Python Programming, Prentice Hall.
  • Idris I (2013) NumPy Beginner’s Guide, Packt Publishing.
  • Langtangen HP (2009) Python Scripting for Computational Science, Springer.