Skip to content

Commit

Permalink
refactored
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas Tolley <[email protected]>
  • Loading branch information
samadpls and ntolley authored Aug 5, 2024
1 parent b50680d commit dbe86f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/howto/plot_batch_simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ def summary_func(results):
dpl_waveforms = []
for data_list in simulation_results['simulated_data']:
for data in data_list:
window_len = 30
dpl_smooth = data['dpl'][0].copy().smooth(window_len)
dpl_smooth = data['dpl'][0].copy().smooth(window_len=30)
dpl_waveforms.append(dpl_smooth.data['agg'])

plt.figure(figsize=(10, 6))
Expand Down

0 comments on commit dbe86f8

Please sign in to comment.