This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _init_numpy_mkl(): | |
# Numpy+MKL on Windows only | |
import os | |
import ctypes | |
if os.name != 'nt': | |
return | |
# disable Intel Fortran default console event handler | |
env = 'FOR_DISABLE_CONSOLE_CTRL_HANDLER' | |
if env not in os.environ: | |
os.environ[env] = '1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _init_numpy_mkl(): | |
# Numpy+MKL on Windows only | |
import os | |
import ctypes | |
if os.name != 'nt': | |
return | |
# disable Intel Fortran default console event handler | |
env = 'FOR_DISABLE_CONSOLE_CTRL_HANDLER' | |
if env not in os.environ: | |
os.environ[env] = '1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.................................................................................................................................................................................S...................................................................................K...................................................................................................................................................................................................................................................................................................................K.............................................................................................................................................................K..K..................................................................................................................................................................................................................................................................................................... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import libtfr | |
def fmsin(N, fnormin=0.05, fnormax=0.45, period=None, t0=None, fnorm0=0.25, pm1=1): | |
""" | |
Signal with sinusoidal frequency modulation. | |
generates a frequency modulation with a sinusoidal frequency. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*asm: | |
%{m32:--32} %{m64:--64} | |
*asm_debug: | |
%{!g0:%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}} %{fdebug-prefix-map=*:--debug-prefix-map %*} | |
*asm_final: | |
%{gsplit-dwarf: | |
objcopy --extract-dwo %{c:%{o*:%*}%{!o*:%b%O}}%{!c:%U%O} %{c:%{o*:%:replace-extension(%{o*:%*} .dwo)}%{!o*:%b.dwo}}%{!c:%b.dwo} | |
objcopy --strip-dwo %{c:%{o*:%*}%{!o*:%b%O}}%{!c:%U%O} } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
ERROR: test_fromfile (test_longdouble.FileBased) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "D:\devel\py\python-2.7.10\lib\site-packages\numpy\testing\decorators.py", line 216, in knownfailer | |
return f(*args, **kwargs) | |
File "D:\devel\py\python-2.7.10\lib\site-packages\numpy\core\tests\test_longdouble.py", line 136, in test_fromfile | |
F = open(self.f.name, "rt") | |
IOError: [Errno 13] Permission denied: 'c:\\users\\testing\\appdata\\local\\temp\\tmpj5pmbp' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
ERROR: test_umath.TestComplexFunctions.test_branch_cuts_complex64(<ufunc 'arcsin'>, [-2, 2], [1j, 1j], 1, -1, True, <type 'numpy.complex64'>) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "D:\devel\py\python-2.7.10\lib\site-packages\nose\case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "D:\devel\py\python-2.7.10\lib\site-packages\numpy\core\tests\test_umath.py", line 1736, in _check_branch_cut | |
y0 = f(x0) | |
RuntimeWarning: invalid value encountered in arcsin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
FAIL: test_syr_her (test_blas.TestFBLAS2Simple) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "D:\tools\wp_279_amd\python-2.7.9.amd64\lib\site-packages\scipy\linalg\tests\test_blas.py", line 316, in test_syr_her | |
resz_reverse, rtol=rtol) | |
File "D:\tools\wp_279_amd\python-2.7.9.amd64\lib\site-packages\numpy\testing\utils.py", line 1297, in assert_allclose | |
verbose=verbose, header=header) | |
File "D:\tools\wp_279_amd\python-2.7.9.amd64\lib\site-packages\numpy\testing\utils.py", line 665, in assert_array_compare | |
raise AssertionError(msg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://bitbucket.org/carlkl/mingw-w64-for-python/downloads/numpy-1.9.0b2.win32-py2.7.exe | |
====================================================================== | |
FAIL: test_any_ninf (test_umath.TestArctan2SpecialValues) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "d:\devel32\py27\lib\site-packages\numpy\core\tests\test_umath.py", line 452, in test_any_ninf | |
assert_almost_equal(ncu.arctan2(1, np.NINF), np.pi) | |
File "d:\devel32\py27\lib\site-packages\numpy\testing\utils.py", line 490, in assert_almost_equal | |
raise AssertionError(_build_err_msg()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://bitbucket.org/carlkl/mingw-w64-for-python/downloads/numpy-1.9.0b2.win-amd64-py2.7.exe | |
====================================================================== | |
ERROR: test_format.test_large_file_support | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "D:\devel\py27\lib\site-packages\nose\case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "D:\devel\py27\lib\site-packages\numpy\lib\tests\test_format.py", line 690, in test_large_file_support | |
f = open(tf.name, "wb") |
NewerOlder