def fourrier_spectrum(self, *args, **kwargs):
"""
Parameters
----------
*args, **kwargs
extra arguments provided to the periodogram function.
Returns
-------
tuple of numpy.ndarray: fourrier modes and power density obtained with the scipy.signal.periodogram function.
""" # noqa
freq, ampl = periodogram(self._template, fs=1 / self._dt)
return freq, ampl
评论列表
文章目录