destreak.m

From Spinach Documentation Wiki
Jump to: navigation, search

Reduces streak artefacts in 2D and 3D NMR spectra. 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.

Syntax

    spectrum=destreak(spectrum)

Parameters

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

Outputs

    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

autophase.m, lpredict.m, tikhoind.m, tikhonov.m, Import,_export,_and_visualisation

Version 2.5, authors: Ilya Kuprov