Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion analysis/population_quantities.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_synchrony_of_spiking(data, pop='Exc',

if len(ispikes_unique)>3:
# if there are at least two couples
couples = list(combinations(ispikes_unique, r=2))
couples = [comb for comb in combinations(ispikes_unique, r=2)]
Nmax_pairs = min([len(couples), Nmax_pairs])
rdm_picks = np.random.choice(range(len(couples)), Nmax_pairs)

Expand Down