Lines Matching full:cosine
14 'cosine',
168 Computes a window with a simple cosine waveform, following the same implementation as SciPy.
171 The cosine window is defined as follows:
176 This formula differs from the typical cosine window formula by incorporating a 0.5 term in the nume…
196 >>> # Generates a symmetric cosine window.
197 >>> torch.signal.windows.cosine(10)
200 >>> # Generates a periodic cosine window.
201 >>> torch.signal.windows.cosine(10, sym=False)
207 def cosine( function
219 _window_function_checks('cosine', M, dtype, layout)
618 Computes the general cosine window.
620 The general cosine window is defined as follows:
633 a (Iterable): the coefficients associated to each of the cosine functions.
642 >>> # Generates a symmetric general cosine window with 3 coefficients.
646 >>> # Generates a periodic general cosine window wit 2 coefficients.