f65ce21837574fae7ef5ed51ba949014f3dad3be,neurodsp/tests/sim/test_cycles.py,,test_create_cycle_time,#,71
Before Change
def test_create_cycle_time():
check_sim_output(create_cycle_time(N_SECONDS_CYCLE, FS))
check_sim_output(create_cycle_time(N_SECONDS_ODD, FS), n_seconds=N_SECONDS_ODD)
check_sim_output(create_cycle_time(N_SECONDS_CYCLE, FS_ODD), fs=FS_ODD)
def test_phase_shift_cycle():
After Change
def test_create_cycle_time():
times = create_cycle_time(N_SECONDS_CYCLE, FS)
check_sim_output(times, n_seconds=N_SECONDS_CYCLE)
times = create_cycle_time(N_SECONDS_ODD, FS)
check_sim_output(times, n_seconds=N_SECONDS_ODD)
times = create_cycle_time(N_SECONDS_CYCLE, FS_ODD)
check_sim_output(times, n_seconds=N_SECONDS_CYCLE, fs=FS_ODD)
def test_phase_shift_cycle():
cycle = sim_cycle(N_SECONDS_CYCLE, FS, "sine")
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 5
Instances
Project Name: neurodsp-tools/neurodsp
Commit Name: f65ce21837574fae7ef5ed51ba949014f3dad3be
Time: 2021-03-14
Author: tdonoghue.research@gmail.com
File Name: neurodsp/tests/sim/test_cycles.py
Class Name:
Method Name: test_create_cycle_time
Project Name: neurodsp-tools/neurodsp
Commit Name: f65ce21837574fae7ef5ed51ba949014f3dad3be
Time: 2021-03-14
Author: tdonoghue.research@gmail.com
File Name: neurodsp/tests/sim/test_cycles.py
Class Name:
Method Name: test_sim_normalized_cycle
Project Name: neurodsp-tools/neurodsp
Commit Name: f65ce21837574fae7ef5ed51ba949014f3dad3be
Time: 2021-03-14
Author: tdonoghue.research@gmail.com
File Name: neurodsp/tests/sim/test_cycles.py
Class Name:
Method Name: test_sim_sine_cycle
Project Name: neurodsp-tools/neurodsp
Commit Name: f65ce21837574fae7ef5ed51ba949014f3dad3be
Time: 2021-03-14
Author: tdonoghue.research@gmail.com
File Name: neurodsp/tests/sim/test_cycles.py
Class Name:
Method Name: test_sim_gaussian_cycle
Project Name: neurodsp-tools/neurodsp
Commit Name: f65ce21837574fae7ef5ed51ba949014f3dad3be
Time: 2021-03-14
Author: tdonoghue.research@gmail.com
File Name: neurodsp/tests/sim/test_cycles.py
Class Name:
Method Name: test_sim_sawtooth_cycle
Project Name: neurodsp-tools/neurodsp
Commit Name: f65ce21837574fae7ef5ed51ba949014f3dad3be
Time: 2021-03-14
Author: tdonoghue.research@gmail.com
File Name: neurodsp/tests/sim/test_cycles.py
Class Name:
Method Name: test_create_cycle_time
Project Name: neurodsp-tools/neurodsp
Commit Name: f65ce21837574fae7ef5ed51ba949014f3dad3be
Time: 2021-03-14
Author: tdonoghue.research@gmail.com
File Name: neurodsp/tests/sim/test_cycles.py
Class Name:
Method Name: test_sim_asine_cycle