S2spinach.m

From Spinach Documentation Wiki
Jump to: navigation, search

Reads SIMPSON spin system specification.

Syntax

    [sys,inter]=s2spinach(filename)

Description

This function converts the information it finds in the spinsys{} structure of a SIMPSON input file into Spinach sys and inter data structures.

Arguments

    filename - a character string specifying the file name

Returns

    [sys,inter] - Spinach spin system specification

Examples

A good example is given in mas_crystal_csa_fplanck.m file in examples/nmr_solids directory.

Notes

The function only supports ppm specifications for the Zeeman tensors and only Hz specifications for quadrupolae coupling tensors.

See also

gparse.m, oparse.m, protein.m, nuclacid.m


Revision 3284, authors: Ilya Kuprov