s2json.m

From Spinach Documentation Wiki
Jump to: navigation, search

Writes the parameters structure and free induction decay into a JSON file that can be imported by developer versions of MestreNova.

Syntax

    s2json(file_name,parameters,fid_matrices)

Parameters

    file_name    - output file name

    sys          - Spinach input data structure

    inter        - Spinach input data structure

    parameters   - Spinach input data structure

    fid          - a structure or a matrix representing
                   the free induction decay

Outputs

This function writes a file.

Notes

For data that only requires a Fourier transform, fid must be a complex matrix. For 2D States quadrature data (e.g. NOESY), fid.cos and fid.sin matrices must be supplied as a structure.

See also

fid2ascii.m, axis_1d.m, bwr_cmap.m, crop_2d.m, cylgrid.m, int_2d.m, molplot.m, mri_2d_plot.m, plot_1d.m, plot_2d.m, plot_3d.m, plot_uf.m, scale_figure.m, slice_2d.m, stack_2d.m, volplot.m, write_movie.m, zoom_3d.m, Import,_export,_and_visualisation

Version 2.1, authors: Ilya Kuprov