Destreak.m

From Spinach Documentation Wiki
Jump to: navigation, search

Reduces streak artefacts in 2D and 3D NMR spectra.

Syntax

    spectrum=destreak(spectrum)

Description

This function looks at the edges of the spectrum and subtracts anything that it finds there from the entire spectrum. The assumption is that anything that's reached as far as the edge must be a streak artefact that should be removed. This is often the case in 2D and 3D NMR spectra.

Arguments

    spectrum - a 2D or a 3D NMR spectrum as a numerical array. Cell arrays 
               and structures made up of numerical arrays are processed recursively.


Returns

    spectrum - a de-streaked array of the same dimension and structure

Examples

Most 2D and 3D NMR examples in Spinach (see /examples/nmr_liquids) use this function. An example of its effect is given below.

Noesy raw.png Noesy destreaked.png

Notes

Edges of the spectrum must be free of genuine signals for this function to perform as intended.

See also

apodization.m, plot_2d.m, plot_3d.m


Revision 3284, authors: Ilya Kuprov