Did I find the right examples for you? yes no

# scipy.signal.wavelets.morlet

All Samples(55)  |  Call(55)  |  Derive(0)  |  Import(0)

```    def test_morlet(self):
x = wavelets.morlet(50, 4.1, complete=True)
y = wavelets.morlet(50, 4.1, complete=False)
# Test if complete and incomplete wavelet have same lengths:
assert_equal(len(x), len(y))
# Test if complete wavelet is less than incomplete wavelet:
assert_array_less(x, y)

x = wavelets.morlet(10, 50, complete=False)
y = wavelets.morlet(10, 50, complete=True)
```
```                      6.49471756e-01 + 0.00000000e+00j,
1.73752399e-09 - 9.84327394e-25j])
y = wavelets.morlet(3, w=2, complete=True)
assert_array_almost_equal(x, y)

```

```    def test_morlet(self):
x = wavelets.morlet(50, 4.1, complete=True)
y = wavelets.morlet(50, 4.1, complete=False)
# Test if complete and incomplete wavelet have same lengths:
assert_equal(len(x), len(y))
# Test if complete wavelet is less than incomplete wavelet:
assert_array_less(x, y)

x = wavelets.morlet(10, 50, complete=False)
y = wavelets.morlet(10, 50, complete=True)
```
```                      6.49471756e-01 + 0.00000000e+00j,
1.73752399e-09 - 9.84327394e-25j])
y = wavelets.morlet(3, w=2, complete=True)
assert_array_almost_equal(x, y)

```

```    def test_morlet(self):
x = wavelets.morlet(50,4.1,complete=True)
y = wavelets.morlet(50,4.1,complete=False)
# Test if complete and incomplete wavelet have same lengths:
assert_equal(len(x),len(y))
# Test if complete wavelet is less than incomplete wavelet:
assert_array_less(x,y)

x = wavelets.morlet(10,50,complete=False)
y = wavelets.morlet(10,50,complete=True)
```
```                      6.49471756e-01 +0.00000000e+00j,
1.73752399e-09 -9.84327394e-25j])
y = wavelets.morlet(3,w=2,complete=True)
assert_array_almost_equal(x,y)

```

```    def make_morlet(self, freq):