coincidence_HM.get_friends_arr#
Back to Module page
Summary#
Groups triggers in clist into buckets every time_tol, and retains only those high enough relative to the maximum in each bucket
Signature#
def get_friends_arr(clist, time_tol, score_reduction_max, origin = 0)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
Processedclist |
||
|
Width of each bucket in time (s) |
||
|
Allow a reduction in SNR^2 of max \* params.MAX_FRIEND_DEGRADE_SNR2 + score_reduction_max when keeping friends |
||
|
0 |
Origin for splitting the times relative to |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
List of processedclists of friends, one for each bucket |
Docstring#
Groups triggers in clist into buckets every time_tol, and retains only
those high enough relative to the maximum in each bucket
:param clist: Processedclist
:param time_tol: Width of each bucket in time (s)
:param score_reduction_max:
Allow a reduction in SNR^2 of max * params.MAX_FRIEND_DEGRADE_SNR2 +
score_reduction_max when keeping friends
:param origin: Origin for splitting the times relative to
:return: List of processedclists of friends, one for each bucket