Skip to content

Commit

Permalink
Merge pull request #233 from jhnnsnk/fix
Browse files Browse the repository at this point in the history
Fix missing ms
  • Loading branch information
jhnnsnk authored Sep 19, 2024
2 parents f5c798e + 5cddd5e commit b53907b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mesocircuit/analysis/spike_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ def _compute_ccs_distances(X, circuit, sptrains_X, binsize_time, ccs_time_interv
extent=[circuit.net_dict['extent']] * 2,
edge_wrap=True)

ccs_dic = {f'ccs_{ccs_time_interval}': ccs,
ccs_dic = {f'ccs_{ccs_time_interval}ms': ccs,
'distances_mm': distances}
return ccs_dic

Expand Down
2 changes: 1 addition & 1 deletion mesocircuit/plotting/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ def plotfunc_CCs_distance(
return

distances = data[X]['distances_mm'][:max_num_pairs]
ccs = data[X][key_ccs][:max_num_pairs]
ccs = data[X][key_ccs + 'ms'][:max_num_pairs]

# loop for reducing zorder-bias
blocksize = int(len(distances) / nblocks)
Expand Down

0 comments on commit b53907b

Please sign in to comment.