Previous topic

nmrglue.process.proc_base.filter_sum

Next topic

nmrglue.process.proc_base.nmr_reorder

This Page

nmrglue.process.proc_base.filter_generic

nmrglue.process.proc_base.filter_generic(data, filter, s=(1, 1), m='wrap', c=0.0)

Apply generic filter to data (real and imaginary seperately)

Parameters:

  • data Array of spectral data.

  • filter python function which takes an array and returns a single value.

  • s tuple defining shape or size taken for each step of the filter.

  • m Defines how edges are determinded (‘reflect’,’constant’,’nearest’,

    ‘mirror’,’wrap’). Filter mode parameter.

  • c Constant Value for use in ‘constant’ mode