Difference between revisions of "Crop 2d.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:crop_2d.m}} 2D spectrum cropping. ==Syntax== [spec,parameters]=crop_2d(spin_system,spec,parameters,crop_ranges) ==Description== Crops 2D spectra to user...")
(No difference)

Revision as of 14:53, 3 January 2018

2D spectrum cropping.

Syntax

    [spec,parameters]=crop_2d(spin_system,spec,parameters,crop_ranges)

Description

Crops 2D spectra to user-specified ranges (in ppm), respecting the digital resolution.

Arguments

         spec - 2D matrix containing the spectrum

  crop_ranges - cropping bounds, supplied in the following
                format: {[f1_min f1_max],[f2_min f2_max]}

   parameters.sweep   -    one or two sweep widths, Hz

   parameters.spins   -    cell array with one ot two character
                           strings specifying the working spins.

   parameters.offset  -    one or two transmitter offsets, Hz

Outputs

         spec - 2D matrix containing the cropped spectrum

   parameters - the updated parameters structure

See also

plot_2d.m, int_2d.m


Version 2.1, authors: Ilya Kuprov