Skip to content

Conversation

@bear-is-asleep
Copy link
Contributor

@bear-is-asleep bear-is-asleep commented Mar 21, 2025

Description

Modify OpT0Finder to show hypothesis for all interactions. Added visualization tools. Stores flash id that is matched by looking at the interactions, the rest of the hypothesis flash ids are negative to reflect they were not matched.

image
image
image

Output of single MPR event

Flashes **************************************************
Flash(id=0, interaction_id=-1, volume_id=0, time=0.0023923399541485625, time_width=4.009503734809016, total_pe=131609.81400000054, center=[-51.13230367 -98.12861373 380.5398958 ], width=[-1.         62.87950478 79.74966855])
Flash(id=1, interaction_id=-1, volume_id=0, time=51.62929403525309, time_width=4.008191186676214, total_pe=227780.2268249996, center=[-113.90182886   50.49763088  285.05044804], width=[-1.         68.74556837 87.28745811])
Flash(id=2, interaction_id=-1, volume_id=0, time=40.902943115419156, time_width=4.008743243766645, total_pe=98920.77532499978, center=[-66.28205816 -23.42245202 256.99777304], width=[-1.         64.91046305 78.30508045])
Flash(id=3, interaction_id=-1, volume_id=0, time=61.144245008311756, time_width=4.0, total_pe=8433.814224999995, center=[-137.85761221    3.21801853  168.45198472], width=[ -1.          93.99094771 119.02663182])
Flash(id=4, interaction_id=-1, volume_id=0, time=401.5836798370379, time_width=4.0, total_pe=683.8652, center=[-1.75227800e+02  2.46889386e-01  4.66000000e+02], width=[ -1.         106.08259745 143.20132558])
Flash(id=5, interaction_id=-1, volume_id=0, time=31.922307330547273, time_width=4.0, total_pe=328.276775, center=[-192.69896239 -105.22465546  453.46359478], width=[ -1.         111.42819017  96.31258055])
Flash(id=6, interaction_id=-1, volume_id=0, time=524.381234090869, time_width=4.0, total_pe=83.96085, center=[-31.63927306  -2.9104077  399.5       ], width=[-1.         90.06665735 77.76343201])
Flash(id=7, interaction_id=-1, volume_id=0, time=8.031508712609293, time_width=4.0, total_pe=140.69329999999997, center=[ -46.91762023 -118.02130044  269.5       ], width=[-1.         74.97422271 99.82682943])
Flash(id=8, interaction_id=-1, volume_id=0, time=97.51027644875246, time_width=4.0, total_pe=59.01515, center=[-66.28205816 -47.5        436.        ], width=[-1.         89.94012079 75.50874497])
Flash(id=9, interaction_id=-1, volume_id=0, time=252.84602771674724, time_width=4.0, total_pe=822.4347500000003, center=[161.92417609 -53.20454115 109.        ], width=[ -1.         122.77542438 109.58192176])
Hypotheses **************************************************
Flash(id=-1, interaction_id=0, volume_id=0, time=1.7976931348623157e+308, time_width=1.7976931348623157e+308, total_pe=40825.694661088666, center=[1.79769313e+308 1.79769313e+308 1.79769313e+308], width=[1.79769313e+308 1.79769313e+308 1.79769313e+308])
Flash(id=-2, interaction_id=1, volume_id=0, time=1.7976931348623157e+308, time_width=1.7976931348623157e+308, total_pe=79615.17014387358, center=[1.79769313e+308 1.79769313e+308 1.79769313e+308], width=[1.79769313e+308 1.79769313e+308 1.79769313e+308])
Flash(id=-3, interaction_id=2, volume_id=0, time=1.7976931348623157e+308, time_width=1.7976931348623157e+308, total_pe=114118.01536738401, center=[1.79769313e+308 1.79769313e+308 1.79769313e+308], width=[1.79769313e+308 1.79769313e+308 1.79769313e+308])
Flash(id=-4, interaction_id=3, volume_id=0, time=1.7976931348623157e+308, time_width=1.7976931348623157e+308, total_pe=108590.50945807056, center=[1.79769313e+308 1.79769313e+308 1.79769313e+308], width=[1.79769313e+308 1.79769313e+308 1.79769313e+308])
Flash(id=0, interaction_id=4, volume_id=0, time=1.7976931348623157e+308, time_width=1.7976931348623157e+308, total_pe=52941.9403413715, center=[1.79769313e+308 1.79769313e+308 1.79769313e+308], width=[1.79769313e+308 1.79769313e+308 1.79769313e+308])
Flash(id=-6, interaction_id=5, volume_id=0, time=1.7976931348623157e+308, time_width=1.7976931348623157e+308, total_pe=41842.99980216605, center=[1.79769313e+308 1.79769313e+308 1.79769313e+308], width=[1.79769313e+308 1.79769313e+308 1.79769313e+308])
Flash(id=-7, interaction_id=6, volume_id=0, time=1.7976931348623157e+308, time_width=1.7976931348623157e+308, total_pe=8985.52249213322, center=[1.79769313e+308 1.79769313e+308 1.79769313e+308], width=[1.79769313e+308 1.79769313e+308 1.79769313e+308])```

@bear-is-asleep bear-is-asleep marked this pull request as ready for review April 8, 2025 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants