This is the Simu1 Library version 0.1.0.

Libsimu1 was initially written to simulate the NMR behavior of a 1-spin system under free evolution or radio-frequency pulse action. It was used to draw Grapefruit Plots.

Libsimu1 is able to compute the matrix that is associated to a rotation of given angle and axis, and to apply it to a vector.

This is a C API. The user has to write a C program to use it. A simple executable program named demo can be built from the distribution file. The demo.c file provides an example of libsimu1 use.


The libsimu1 API

defines two data types:

and two functions:


The Simu1b Library has many more features.

Jean-Marc Nuzillard

March 31st 2006