median_smooth¶
- specutils.manipulation.median_smooth(spectrum, width)[source]¶
Smoothing based on a median filter. The median filter smoothing is implemented using the
scipy.signal.medfilt
function.- Parameters:
- Returns:
- Raises:
- ValueError
In the case that
spectrum
orwidth
are not the correct type or value.