nmrglue.process.proc_base.filter_amax
- nmrglue.process.proc_base.filter_amax(data, s=(1, 1), m='wrap', c=0.0)[source]
Apply an absolute maximum filter.
Real and imaginary components are filtered seperately.
- Parameters
- datandarray
Array of NMR data.
- stuple
Shape or size taken for each step of the filter.
- m{‘reflect’, ‘constant’, ‘nearest’, ‘wrap’}
How edges of are dealt with.
- cfloat
Constant value for use when m is ‘constant’.
- Returns
- ndatandarray
Filtered NMR data.