Skip to content

SimPYson

SimPYson is a Python interface to SIMPSON, a software for numerical simulations of solid-state NMR experiments. SimPYson reads SIMPSON output, turns DFT calculations into simulated spectra, and writes and runs SIMPSON inputs within Python.

Pick the path that matches what you have in front of you:

  • I have SIMPSON output files


    You have .spe, .fid, .xreim or .csdf files and want to plot or process them in Python. SIMPSON is not needed.

    Analyse SIMPSON output

  • I have a DFT calculation


    You have a CASTEP .magres file or a VASP OUTCAR and want an simple NMR spectrum. simulate_spectrum() needs no further setup.

    From DFT to NMR spectrum

  • I want to design a simulation


    You want full control over the spin system, the pulse sequence and the acquisition: built-in templates or your own Tcl.

    Custom simulations with SimpCalc

If you are new here, see the Quickstart which shows each path in about ten lines. Installation instructions, including when you need the SIMPSON installation, are on the Installation page.

What you we provide

  • Read SIMPSON output: .spe, .fid, .xreim and .csdf files load into one Simpy object that converts between FID, spectrum (Hz) and spectrum (ppm).
  • DFT to spectrum: spin systems from CASTEP, Quantum ESPRESSO and VASP calculations, built with ASE and Soprano.
  • Simulations from Python: simulate_spectrum() for one-call spectra, SimpCalc for full control, with ready-made no_pulse, pulse_90 and cp_mas templates and support for your own pulse sequences.
  • A GUI for quick inspection: simpyson gui.

Why SimPYson?

SimPYson is built by NUTS - **N**mr **U**nofficial **T**ool**S**et) for people who prefer to work within python. Everything is a script, so it is reproducible, easy to batch over many structures, and sits naturally in a DFT-to-NMR pipeline next to other Python tools.

If you would rather work through a graphical interface, these are good alternatives:

  • Simplot: from the developers of SIMPSON, for analysing the results.
  • Simview: from Zdenek Tosner (SIMPSON developer), a GUI to run SIMPSON simulations and plot results.
  • EasyNMR: a cloud-based platform to run and analyse SIMPSON simulations remotely.

We are open to suggestions: please open an issue on GitHub.