Skip to content

Commit

Permalink
squeeze multi array outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDonoghue committed Sep 2, 2024
1 parent 9808874 commit e494f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurodsp/sim/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def sim_across_values(sim_func, sim_params, n_sims, output='object'):
sims.add_signals(sim_multiple(sim_func, cur_sim_params, n_sims, 'object'))

if output == 'array':
sims = np.array([el.signals for el in sims])
sims = np.squeeze(np.array([el.signals for el in sims]))

return sims

Expand Down

0 comments on commit e494f93

Please sign in to comment.