You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(** Signal: Fundamental Signal Processing functions. *)
@@ -10,18 +10,18 @@ open Owl_dense
10
10
(** {Basic window functions} *)
11
11
12
12
valblackman : int -> Ndarray.D.arr
13
-
(** Blackman window is a taper formed by using the first three terms of a summation of cosines. It was designed to have close to the minimal leakage possible.
14
-
``blackman m`` returns a blackman window.
13
+
(** Blackman window is a taper formed by using the first three terms of a summation of cosines. It was designed to have close to the minimal leakage possible.
14
+
``blackman m`` returns a blackman window.
15
15
*)
16
16
17
17
valhamming : int -> Ndarray.D.arr
18
-
(** Hamming window is a taper formed by using a raised cosine with non-zero endpoints, optimized to minimize the nearest side lobe. ``hamming m``
19
-
returns a hamming window.
18
+
(** Hamming window is a taper formed by using a raised cosine with non-zero endpoints, optimized to minimize the nearest side lobe. ``hamming m``
19
+
returns a hamming window.
20
20
*)
21
21
22
22
valhann : int -> Ndarray.D.arr
23
-
(** Hann window is a taper formed by using a raised cosine or sine-squared with ends that touch zero. ``hann m``
24
-
returns a hann window.
23
+
(** Hann window is a taper formed by using a raised cosine or sine-squared with ends that touch zero. ``hann m``
24
+
returns a hann window.
25
25
*)
26
26
27
27
(** {Filter response function} *)
@@ -32,9 +32,9 @@ val freqz
32
32
-> floatarray
33
33
-> floatarray
34
34
-> Ndarray.D.arr *Ndarray.Z.arr
35
-
(** freqz computes the frequency response of a digital filter.
36
-
37
-
``freqz b a`` computes the frequency response of digital filter with numerator filter coeffecient given by ``b`` (float array) while the denominator filter coeffecient given by ``a`` (float array), and returns the frequencies and the frequency response respectively in real and complex ndarrays. Two optional parameters may be specified: ``n`` is an integer that determines the number of frequencies where the frequency response is to be evaluated, and ``whole`` is a boolean that decides whether the frequency response is two-sided or one-sided. Default values of ``n`` and ``whole`` are 512 and false.
35
+
(** freqz computes the frequency response of a digital filter.
36
+
37
+
``freqz b a`` computes the frequency response of digital filter with numerator filter coeffecient given by ``b`` (float array) while the denominator filter coeffecient given by ``a`` (float array), and returns the frequencies and the frequency response respectively in real and complex ndarrays. Two optional parameters may be specified: ``n`` is an integer that determines the number of frequencies where the frequency response is to be evaluated, and ``whole`` is a boolean that decides whether the frequency response is two-sided or one-sided. Default values of ``n`` and ``whole`` are 512 and false.
0 commit comments