Detailed installation (Python)

Python users

spm1d requires the following packages:

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

If you are new to Python we highly recommend starting out with the Anaconda package . All of spm1d’s dependencies are available in the default Anaconda installation.

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

pip install spm1d

To check installation, launch Python or IPython:

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.