/usr/include/openturns/swig/Hamming_doc.i is in libopenturns-dev 1.9-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | %feature("docstring") OT::Hamming
"Hamming filtering windows.
Available constructors:
Hamming()
Notes
-----
The Hamming windows is implemented using the formula:
.. math::
w(t) = C(\\\\alpha - (1-\\\\alpha)\\\\cos(2\\\\pi t))\\\\fcar{[0,1]}{t}
with :math:`C = \\\\frac{1}{\\\\alpha^2 + (1-\\\\alpha)^2/2}` and :math:`\\\\alpha=25/46`.
The value of :math:`\\\\alpha` minimizes the amplitude of the first side lobe of its Fourier transform.
The normalization constant :math:`C` is such that :math:`\\\\int_{0}^{1} w(t)^2\\\\di{t} = 1`.
"
|