1063c4b77d5720b2f10b6000e6d8a436d31501c9,neurodsp/tests/test_sim_aperiodic.py,,test_sim_synaptic_current,#,29
Before Change
def test_sim_synaptic_current():
np.random.seed(0)
syn_noise = sim_synaptic_current(2, 1000, 1000, 2, 0.002, 2, 1.)
// np.save(os.path.dirname(neurodsp.__file__) + "/tests/data/sim_synaptic_noise.npy", syn_noise)
syn_noise_true = np.load(os.path.dirname(
neurodsp.__file__) + "/tests/data/sim_synaptic_noise.npy")
assert np.allclose(np.sum(np.abs(syn_noise - syn_noise_true)), 0, atol=10 ** -5)
def test_sim_random_walk():
After Change
def test_sim_synaptic_current():
sig = sim_synaptic_current(N_SECONDS, FS)
assert True
// np.random.seed(0)
// syn_noise = sim_synaptic_current(2, 1000, 1000, 2, 0.002, 2, 1.)
// // np.save(os.path.dirname(neurodsp.__file__) + "/tests/data/sim_synaptic_noise.npy", syn_noise)
In pattern: SUPERPATTERN
Frequency: 7
Non-data size: 11
Instances
Project Name: neurodsp-tools/neurodsp
Commit Name: 1063c4b77d5720b2f10b6000e6d8a436d31501c9
Time: 2019-03-23
Author: tdonoghue@ucsd.edu
File Name: neurodsp/tests/test_sim_aperiodic.py
Class Name:
Method Name: test_sim_synaptic_current
Project Name: neurodsp-tools/neurodsp
Commit Name: 1063c4b77d5720b2f10b6000e6d8a436d31501c9
Time: 2019-03-23
Author: tdonoghue@ucsd.edu
File Name: neurodsp/tests/test_sim_periodic.py
Class Name:
Method Name: test_sim_jittered_oscillation
Project Name: neurodsp-tools/neurodsp
Commit Name: 1063c4b77d5720b2f10b6000e6d8a436d31501c9
Time: 2019-03-23
Author: tdonoghue@ucsd.edu
File Name: neurodsp/tests/test_sim_aperiodic.py
Class Name:
Method Name: test_sim_random_walk
Project Name: neurodsp-tools/neurodsp
Commit Name: 1063c4b77d5720b2f10b6000e6d8a436d31501c9
Time: 2019-03-23
Author: tdonoghue@ucsd.edu
File Name: neurodsp/tests/test_sim_aperiodic.py
Class Name:
Method Name: test_sim_poisson_pop
Project Name: neurodsp-tools/neurodsp
Commit Name: 1063c4b77d5720b2f10b6000e6d8a436d31501c9
Time: 2019-03-23
Author: tdonoghue@ucsd.edu
File Name: neurodsp/tests/test_sim_periodic.py
Class Name:
Method Name: test_sim_oscillation
Project Name: neurodsp-tools/neurodsp
Commit Name: 5a2517c85ff8e513c2e03560ac5c5e6db5e0e033
Time: 2019-03-17
Author: tdonoghue@ucsd.edu
File Name: neurodsp/tests/test_sim_aperiodic.py
Class Name:
Method Name: test_sim_filtered_noise
Project Name: neurodsp-tools/neurodsp
Commit Name: 1063c4b77d5720b2f10b6000e6d8a436d31501c9
Time: 2019-03-23
Author: tdonoghue@ucsd.edu
File Name: neurodsp/tests/test_sim_periodic.py
Class Name:
Method Name: test_sim_bursty_oscillation
Project Name: neurodsp-tools/neurodsp
Commit Name: 1063c4b77d5720b2f10b6000e6d8a436d31501c9
Time: 2019-03-23
Author: tdonoghue@ucsd.edu
File Name: neurodsp/tests/test_sim_aperiodic.py
Class Name:
Method Name: test_sim_synaptic_current