Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pywt/tests/data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The .npz files with Matlab reference data are generated by the
`generate_matlab*.py` scripts in the `util/` top-level directory
in this repository.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
""" This script was used to generate dwt_matlabR2012a_result.npz by storing
the outputs from Matlab R2012a. """

import os.path

import numpy as np

Expand Down Expand Up @@ -91,4 +92,5 @@
finally:
mlab.stop()

np.savez('dwt_matlabR2012a_result.npz', **all_matlab_results)
np.savez(os.path.join('..', 'pywt', 'tests', 'data',
'dwt_matlabR2012a_result.npz'), **all_matlab_results)
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
""" This script was used to generate dwt_matlabR2012a_result.npz by storing
the outputs from Matlab R2012a. """

import os

import numpy as np

Expand Down Expand Up @@ -83,4 +84,5 @@
finally:
mlab.stop()

np.savez('cwt_matlabR2015b_result.npz', **all_matlab_results)
np.savez(os.path.join('..', 'pywt', 'tests', 'data',
'cwt_matlabR2015b_result.npz'), **all_matlab_results)