crop_2d.m
2D spectrum cropping utility that crops spectra to user-specified ppm ranges while respecting digital resolution.
Syntax
[spec,parameters]=crop_2d(spin_system,spec,parameters,crop_ranges)
Parameters
spec - 2D matrix containing the spectrum
crop_ranges - cropping bounds, supplied in the following
format: {[f1_min f1_max],[f2_min f2_max]}
The following subfields are required in the parameters structure:
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; the new
offset, sweep, and zerofill reproduce the
retained axis points on the ft_axis grid
See also
plot_2d.m, int_2d.m, apodisation.m, axis_1d.m, bwr_cmap.m, contspacing.m, cylgrid.m, fid2ascii.m, ft_axis.m, heterodyne.m, molplot.m, mri_2d_plot.m, plot_1d.m, plot_3d.m, plot_uf.m, s2json.m, scale_figure.m, slice_2d.m, stack_2d.m, sweep2ticks.m, volplot.m, write_movie.m, xyz2pd.m, zoom_3d.m, Import,_export,_and_visualisation, Kernel_utilities
Version 2.1, authors: Ilya Kuprov