Apply absolute maximum filter to data (real and imaginary seperately)
Parameters:
data Array of spectral data.
s tuple defining shape or size taken for each step of the filter.
‘mirror’,’wrap’). Filter mode parameter.
c Constant Value for use in ‘constant’ mode