Skip to content
Snippets Groups Projects
Commit 6f1d8dc3 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix multiplicities

parent 46deb035
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ class ZTPlot(kp.Module):
hits = hits.append_columns('multiplicity', np.ones(len(hits)))
for dom in doms:
dom_hits = hits[hits.dom_id == dom]
dom_hits = hits[hits.dom_id == dom].sorted(by='time')
mltps, m_ids = count_multiplicities(dom_hits.time)
hits['multiplicity'][hits.dom_id == dom] = mltps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment