Difference between revisions of "Killdiag.m"
(Normalise sequential blank lines) |
m (Spot-edit Spinach function page first-line NOTOC and template fields) |
||
| Line 1: | Line 1: | ||
| − | {{DISPLAYTITLE:killdiag.m}} | + | {{DISPLAYTITLE:killdiag.m}} __NOTOC__ |
Zeroes out the diagonal of a 2D spectrum using the brush with the specified dimensions. | Zeroes out the diagonal of a 2D spectrum using the brush with the specified dimensions. | ||
Revision as of 17:28, 5 June 2026
Zeroes out the diagonal of a 2D spectrum using the brush with the specified dimensions.
Syntax
spec=killdiag(spec,brush_dim)
Arguments
spec - 2D matrix representing a spectrum
brush_dim - the width of the band to zero out
around the diagonal, points
Outputs
spec - 2D matrix representing a spectrum
See also
Version 2.1, authors: Ilya Kuprov