Previous topic

nmrglue.process.pipe_proc.dev

Next topic

nmrglue.process.pipe_proc.null

This Page

nmrglue.process.pipe_proc.img

nmrglue.process.pipe_proc.img(dic, data, filter, dx=1.0, dy=1.0, kern=[, 1], conv=False, thres=None)

Image Processing Utilities

This function wraps when regions extend past the edges (NMRPipe doesn’t). The filter is applied to both the real and imaginary channels

Parameters:

  • dic Dictionary of NMRPipe parameters.
  • data array of spectral data.
  • filter Filter to apply
  • dx Filter X-axis width in points.
  • dy Filter Y-axis width in points.
  • kern List of kernal values
  • conv Set True to apply convolution filter
  • thres Threshold value for use in computing filter, None turns off.

Supported filters are:

  • median Median
  • min Minimum
  • max Maximim
  • amin Absolute Minimum
  • amax Absolute Maximum
  • range Range
  • avg Average
  • dev Standard Deviation