Detailed installation (Python)

Python users

spm1d requires the following packages:

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

All of these packages are available in the default Anaconda package

After installing Anaconda, open a Terminal (Linux, Mac) or an Anaconda Command Prompt (Windows) and enter:

conda install -c toddp spm1d

To check installation, launch Python or IPython, then enter:

>>> 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.