Skip to content
Snippets Groups Projects
Commit 31bb4f24 authored by Chad Hanna's avatar Chad Hanna
Browse files

simplify_and_cluster.sql: reduce the clustering window to 100ms

parent a5e6fe63
No related branches found
No related tags found
No related merge requests found
Pipeline #69744 passed with warnings
......@@ -206,7 +206,7 @@ WHERE
_cluster_info_ AS _cluster_info_a_
JOIN _cluster_info_ AS _cluster_info_b_ ON (
_cluster_info_b_.category == _cluster_info_a_.category
AND (_cluster_info_b_.end_time BETWEEN _cluster_info_a_.end_time - 4.0 AND _cluster_info_a_.end_time + 4.0)
AND (_cluster_info_b_.end_time BETWEEN _cluster_info_a_.end_time - 0.1 AND _cluster_info_a_.end_time + 0.1)
AND (_cluster_info_b_.ranking_stat > _cluster_info_a_.ranking_stat OR
_cluster_info_b_.ranking_stat == _cluster_info_a_.ranking_stat AND (_cluster_info_b_.snr > _cluster_info_a_.snr OR _cluster_info_b_.snr == _cluster_info_a_.snr AND (_cluster_info_b_.coinc_event_id > _cluster_info_a_.coinc_event_id))
)
......
......@@ -203,7 +203,7 @@ WHERE
_cluster_info_ AS _cluster_info_a_
JOIN _cluster_info_ AS _cluster_info_b_ ON (
_cluster_info_b_.category == _cluster_info_a_.category
AND (_cluster_info_b_.end_time BETWEEN _cluster_info_a_.end_time - 4.0 AND _cluster_info_a_.end_time + 4.0)
AND (_cluster_info_b_.end_time BETWEEN _cluster_info_a_.end_time - 0.1 AND _cluster_info_a_.end_time + 0.1)
AND (_cluster_info_b_.ranking_stat > _cluster_info_a_.ranking_stat OR
_cluster_info_b_.ranking_stat == _cluster_info_a_.ranking_stat AND (_cluster_info_b_.snr > _cluster_info_a_.snr OR _cluster_info_b_.snr == _cluster_info_a_.snr AND (_cluster_info_b_.coinc_event_id > _cluster_info_a_.coinc_event_id))
)
......
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