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,.xreimor.csdffiles and want to plot or process them in Python. SIMPSON is not needed. -
I have a DFT calculation
You have a CASTEP
.magresfile or a VASPOUTCARand want an simple NMR spectrum.simulate_spectrum()needs no further setup. -
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.
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,.xreimand.csdffiles load into oneSimpyobject 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,SimpCalcfor full control, with ready-madeno_pulse,pulse_90andcp_mastemplates 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.