Image processing utilities
| Parameters : | dic : dict
data : ndarray
filter : {‘median’, ‘min’, ‘max’, ‘amin’, ‘amax’, ‘range’, ‘avg’, ‘dev’}
dx : float
dy : float
kern : list
conv : bool
thres : float or None or True
|
|---|---|
| Returns : | ndic : dict
ndata : ndarray
|
Notes
This function wraps when regions extend past the edges (NMRPipe doesn’t). The filter is applied to both the real and imaginary channels
Supported filters are:
| Name | Description |
|---|---|
| median | Median |
| min | Minimum |
| max | Maximim |
| amin | Absolute Minimum |
| amax | Absolute Maximum |
| range | Range |
| avg | Average |
| dev | Standard Deviation |