Did I find the right examples for you? yes no

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

src/s/c/scipy-0.13.3/scipy/signal/tests/test_wavelets.py   scipy(Download)
    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)
 

src/s/c/scipy-HEAD/scipy/signal/tests/test_wavelets.py   scipy(Download)
    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)
 

src/m/i/MissionPlanner-HEAD/Lib/site-packages/scipy/signal/tests/test_wavelets.py   MissionPlanner(Download)
    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)
 

src/m/u/music-decomp-HEAD/musicproc/analyze.py   music-decomp(Download)
    def make_morlet(self, freq):
        """
        Get a Morlet wavelet tuned to detect a particular frequency.
        """
        w = signal.wavelets.morlet(self.window_size, self.freq_resolution,