@docstring.dedent_interpd
def magnitude_spectrum(x, Fs=None, window=None, pad_to=None, sides=None):
 return _single_spectrum_helper(x=x, Fs=Fs, window=window, pad_to=pad_to, sides=sides, mode=u'magnitude')

@ docstring . dedent_interpd def magnitude_spectrum ( x , Fs = None , window = None , pad_to = None , sides = None ) : return _single_spectrum_helper ( x = x , Fs = Fs , window = window , pad_to = pad_to , sides = sides , mode = u'magnitude' )
compute the magnitude of the frequency spectrum of *x* .