053f7c3f352a7ae6d9d2567f585012a0cf6089cf,scipy/signal/tests/test_cont2discrete.py,TestC2D,test_zoh,#TestC2D#,18

Before Change


        dc = np.array([[0.0], [0.0], [-0.33]])

        ad_truth = 1.648721270700128 * np.eye(2)
        bd_truth = 0.324360635350064 * np.ones((2, 1))
        // c and d in discrete should be equal to their continuous counterparts
        dt_requested = 0.5

        ad, bd, cd, dd, dt = c2d((ac, bc, cc, dc), dt_requested, method="zoh")

After Change


        dc = np.array([[0.0], [0.0], [-0.33]])

        ad_truth = 1.648721270700128 * np.eye(2)
        bd_truth = np.full((2, 1), 0.324360635350064)
        // c and d in discrete should be equal to their continuous counterparts
        dt_requested = 0.5

        ad, bd, cd, dd, dt = c2d((ac, bc, cc, dc), dt_requested, method="zoh")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 29

Non-data size: 3

Instances


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/signal/tests/test_cont2discrete.py
Class Name: TestC2D
Method Name: test_zoh


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/signal/tests/test_cont2discrete.py
Class Name: TestC2D
Method Name: test_bilinear


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/signal/tests/test_dltisys.py
Class Name: TestDLTI
Method Name: test_dlsim


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/stats/tests/test_mstats_basic.py
Class Name: TestCompareWithStats
Method Name: generate_xy_sample


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/spatial/tests/test_kdtree.py
Class Name:
Method Name: test_ckdtree_duplicated_inputs


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/stats/tests/test_multivariate.py
Class Name: TestMatrixNormal
Method Name: test_moments


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/signal/tests/test_cont2discrete.py
Class Name: TestC2D
Method Name: test_impulse


Project Name: scikit-image/scikit-image
Commit Name: 91aad981796ebdab34fcb401a5f364d85bf3e0c3
Time: 2018-10-03
Author: rth.yurchak@pm.me
File Name: skimage/feature/tests/test_template.py
Class Name:
Method Name: test_template


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/stats/tests/test_multivariate.py
Class Name: TestMatrixNormal
Method Name: test_bad_input


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/stats/tests/test_multivariate.py
Class Name: TestMatrixNormal
Method Name: test_matches_multivariate


Project Name: scikit-image/scikit-image
Commit Name: 91aad981796ebdab34fcb401a5f364d85bf3e0c3
Time: 2018-10-03
Author: rth.yurchak@pm.me
File Name: skimage/segmentation/tests/test_chan_vese.py
Class Name:
Method Name: test_chan_vese_flat_level_set


Project Name: scikit-image/scikit-image
Commit Name: 91aad981796ebdab34fcb401a5f364d85bf3e0c3
Time: 2018-10-03
Author: rth.yurchak@pm.me
File Name: skimage/feature/tests/test_peak.py
Class Name: TestPeakLocalMax
Method Name: test_constant_image


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/stats/tests/test_multivariate.py
Class Name: TestMatrixNormal
Method Name: test_array_input


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/signal/tests/test_cont2discrete.py
Class Name: TestC2D
Method Name: test_backward_diff


Project Name: nipy/dipy
Commit Name: db04e13c8d1879469ac961c389e1df1b891e22de
Time: 2018-04-23
Author: girard.gabriel@gmail.com
File Name: dipy/direction/tests/test_bootstrap_direction_getter.py
Class Name:
Method Name: test_bdg_initial_direction


Project Name: scikit-image/scikit-image
Commit Name: 91aad981796ebdab34fcb401a5f364d85bf3e0c3
Time: 2018-10-03
Author: rth.yurchak@pm.me
File Name: skimage/feature/tests/test_template.py
Class Name:
Method Name: test_normalization


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/signal/tests/test_cont2discrete.py
Class Name: TestC2D
Method Name: test_gbt


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/stats/tests/test_multivariate.py
Class Name: TestMatrixNormal
Method Name: test_frozen_matrix_normal


Project Name: matplotlib/matplotlib
Commit Name: 5a1e7b3b996487983eef939599c36a67b620bb8c
Time: 2019-01-22
Author: rth.yurchak@pm.me
File Name: lib/matplotlib/tri/trirefine.py
Class Name: UniformTriRefiner
Method Name: _refine_triangulation_once


Project Name: scikit-image/scikit-image
Commit Name: 91aad981796ebdab34fcb401a5f364d85bf3e0c3
Time: 2018-10-03
Author: rth.yurchak@pm.me
File Name: skimage/novice/tests/test_novice.py
Class Name:
Method Name: test_indexing


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/stats/tests/test_multivariate.py
Class Name: TestMatrixNormal
Method Name: test_covariance_expansion


Project Name: scikit-image/scikit-image
Commit Name: 91aad981796ebdab34fcb401a5f364d85bf3e0c3
Time: 2018-10-03
Author: rth.yurchak@pm.me
File Name: doc/examples/filters/plot_entropy.py
Class Name:
Method Name:


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/stats/tests/test_multivariate.py
Class Name: TestMatrixNormal
Method Name: test_default_inputs


Project Name: scikit-image/scikit-image
Commit Name: 91aad981796ebdab34fcb401a5f364d85bf3e0c3
Time: 2018-10-03
Author: rth.yurchak@pm.me
File Name: skimage/draw/_random_shapes.py
Class Name:
Method Name: random_shapes


Project Name: scikit-image/scikit-image
Commit Name: 91aad981796ebdab34fcb401a5f364d85bf3e0c3
Time: 2018-10-03
Author: rth.yurchak@pm.me
File Name: skimage/io/tests/test_colormixer.py
Class Name: ColorMixerTest
Method Name: setup


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/signal/tests/test_cont2discrete.py
Class Name: TestC2D
Method Name: test_foh


Project Name: nipy/dipy
Commit Name: 464b4b2124e14e65bf4072c4f88f9847bd2a8c26
Time: 2018-04-23
Author: girard.gabriel@gmail.com
File Name: dipy/direction/tests/test_bootstrap_direction_getter.py
Class Name:
Method Name: test_bdg_residual


Project Name: scikit-image/scikit-image
Commit Name: 91aad981796ebdab34fcb401a5f364d85bf3e0c3
Time: 2018-10-03
Author: rth.yurchak@pm.me
File Name: skimage/restoration/deconvolution.py
Class Name:
Method Name: richardson_lucy


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/signal/tests/test_cont2discrete.py
Class Name: TestC2D
Method Name: test_euler