gondola 0.11.40__tar.gz → 0.11.42__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gondola-0.11.40 → gondola-0.11.42}/Cargo.lock +1 -1
- {gondola-0.11.40 → gondola-0.11.42}/Cargo.toml +1 -1
- {gondola-0.11.40 → gondola-0.11.42}/PKG-INFO +1 -1
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/tof/analysis.py +25 -1
- {gondola-0.11.40 → gondola-0.11.42}/.gitignore +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/README.md +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/alert-manifest-test.toml +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/benches/bench.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/build.sh +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/diesel.toml +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/gondola-0.11.24-cp311-abi3-manylinux_2_34_x86_64.whl +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/liftof-config-decompressed.toml +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/liftof-config-default.toml +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/liftof-config-test-changed.toml +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/liftof-config.diff +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/liftof-config.toml +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/publish_to_bluejay.sh +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/pyproject.toml +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/__init__.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/calibration.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/db.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/events.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/gaps_flight.db +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/io/__init__.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/io/streamers.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/reconstruction/__init__.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/tof/__init__.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/tracker/__init__.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/tracker/analysis.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/visual/__init__.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/visual/tof.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/python/gondola/visual/tracker.py +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/calibration/tof.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/calibration/tracker.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/calibration.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/constants.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/database/schema.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/database.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/errors.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/events/rb_event.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/events/rb_event_header.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/events/rb_waveform.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/events/telemetry_event.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/events/tof_event.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/events/tof_hit.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/events/tracker_hit.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/events.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/caraspace/frame.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/caraspace/reader.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/caraspace/socket_reader.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/caraspace/writer.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/caraspace.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/data_source.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/ipbus.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/parsers.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/root_reader.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/serialization.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/streamers.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/telemetry_reader.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/tof_reader.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io/tof_writer.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/io.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/lib.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/monitoring/cpu_moni_data.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/monitoring/heartbeats/data_sink_hb.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/monitoring/heartbeats/event_builder_hb.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/monitoring/heartbeats/master_trigger_hb.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/monitoring/heartbeats.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/monitoring/ltb_moni_data.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/monitoring/mtb_moni_data.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/monitoring/pa_moni_data.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/monitoring/pb_moni_data.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/monitoring/rb_moni_data.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/monitoring/run_statistics.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/monitoring.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/packets/bfsw_ack_packet.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/packets/gps_packet.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/packets/magnetometer.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/packets/pdu_packet.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/packets/telemetry_packet.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/packets/telemetry_packet_header.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/packets/telemetry_packet_type.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/packets/tof_packet.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/packets/tof_packet_type.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/packets/tracker.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/packets/tracker_header.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/packets.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/prelude.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/python.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/random.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/stats.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/alerts.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/algorithms.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/analysis.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/analysis_engine.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/commands.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/config.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/cuts.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/detector_status.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/master_trigger/control.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/master_trigger/registers.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/master_trigger.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/panic.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/rb_paddle_id.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/settings.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/signal_handler.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/thread_control.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof/tof_response.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tof.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tracker/strips.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/tracker.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/src/version.rs +0 -0
- {gondola-0.11.40 → gondola-0.11.42}/tests/test.rs +0 -0
|
@@ -129,6 +129,9 @@ class TofAnalysis:
|
|
|
129
129
|
plots['edep_umb'] = d.histogram.hist1d(self.EDEP_BINS)
|
|
130
130
|
plots['edep_cbe'] = d.histogram.hist1d(self.EDEP_BINS)
|
|
131
131
|
plots['edep_cor'] = d.histogram.hist1d(self.EDEP_BINS)
|
|
132
|
+
plots['umb_vs_cor_edep'] = d.histogram.hist2d((self.EDEP_BINS, self.EDEP_BINS))
|
|
133
|
+
plots['cbe_vs_cor_edep'] = d.histogram.hist2d((self.EDEP_BINS, self.EDEP_BINS))
|
|
134
|
+
plots['cbe_vs_umb_edep'] = d.histogram.hist2d((self.EDEP_BINS, self.EDEP_BINS))
|
|
132
135
|
cache = dict()
|
|
133
136
|
for k in plots.keys():
|
|
134
137
|
cache[k] = []
|
|
@@ -142,6 +145,9 @@ class TofAnalysis:
|
|
|
142
145
|
'nhit_umb' : d.histogram.hist1d(self.NHIT_BINS),
|
|
143
146
|
'nhit_cor' : d.histogram.hist1d(self.NHIT_BINS),
|
|
144
147
|
'i_vs_o_nhit': d.histogram.hist2d((self.NHIT_BINS, self.NHIT_BINS)),
|
|
148
|
+
'umb_vs_cor_nhit': d.histogram.hist2d((self.NHIT_BINS, self.NHIT_BINS)),
|
|
149
|
+
'cbe_vs_umb_nhit': d.histogram.hist2d((self.NHIT_BINS, self.NHIT_BINS)),
|
|
150
|
+
'cbe_vs_cor_nhit': d.histogram.hist2d((self.NHIT_BINS, self.NHIT_BINS)),
|
|
145
151
|
'thit' : d.histogram.hist1d(self.NHIT_BINS),
|
|
146
152
|
'rblink' : d.histogram.hist1d(self.NHIT_BINS),
|
|
147
153
|
'miss_hit' : d.histogram.hist1d(self.PID_BINS),
|
|
@@ -451,6 +457,9 @@ class TofAnalysis:
|
|
|
451
457
|
self.nhit_plots['nhit_cbe'].fill(self._analysis.c_hit_cbe)
|
|
452
458
|
outer_n_hit = [self._analysis.c_hit_umb[k] + self._analysis.c_hit_cor[k] for k in range(len(self._analysis.c_hit_cor))]
|
|
453
459
|
self.nhit_plots['i_vs_o_nhit'].fill((self._analysis.c_hit_cbe, outer_n_hit))
|
|
460
|
+
self.nhit_plots['umb_vs_cor_nhit'].fill((self._analysis.c_hit_umb, self._analysis.c_hit_cor))
|
|
461
|
+
self.nhit_plots['cbe_vs_umb_nhit'].fill((self._analysis.c_hit_cbe, self._analysis.c_hit_umb))
|
|
462
|
+
self.nhit_plots['cbe_vs_cor_nhit'].fill((self._analysis.c_hit_cbe, self._analysis.c_hit_cbe))
|
|
454
463
|
self.nhit_plots['thit' ].fill(self._analysis.c_thit)
|
|
455
464
|
self.nhit_plots['rblink' ].fill(self._analysis.c_rblink)
|
|
456
465
|
self.nhit_plots['miss_hit'].fill(self._analysis.c_miss_hit)
|
|
@@ -474,7 +483,7 @@ class TofAnalysis:
|
|
|
474
483
|
else:
|
|
475
484
|
self.tmg_plots[k].fill(self._analysis.cache.get_f32_data(k))
|
|
476
485
|
for k in self.edep_plots:
|
|
477
|
-
if not k in ['edep', 'edep_cor', 'edep_cbe', 'edep_cor']:
|
|
486
|
+
if not k in ['umb_vs_cor_edep', 'cbe_vs_cor_edep', 'cbe_vs_umb_edep', 'edep', 'edep_cor', 'edep_cbe', 'edep_cor']:
|
|
478
487
|
try:
|
|
479
488
|
pnl = int(k[8:])
|
|
480
489
|
except Exception as e:
|
|
@@ -482,6 +491,21 @@ class TofAnalysis:
|
|
|
482
491
|
continue
|
|
483
492
|
self.edep_plots[k].fill(self._analysis.cache.get_f32_data_panel("edep", pnl))
|
|
484
493
|
continue
|
|
494
|
+
if k == 'umb_vs_cor_edep':
|
|
495
|
+
self.edep_plots[k].fill(\
|
|
496
|
+
self._analysis.cache.get_f32_data("edep_umb"),
|
|
497
|
+
self._analysis.cache.get_f32_data("edep_cor"))
|
|
498
|
+
continue
|
|
499
|
+
if k == 'cbe_vs_cor_edep':
|
|
500
|
+
self.edep_plots[k].fill(\
|
|
501
|
+
self._analysis.cache.get_f32_data("edep_cbe"),
|
|
502
|
+
self._analysis.cache.get_f32_data("edep_cor"))
|
|
503
|
+
continue
|
|
504
|
+
if k == 'cbe_vs_umb_edep':
|
|
505
|
+
self.edep_plots[k].fill(\
|
|
506
|
+
self._analysis.cache.get_f32_data("edep_cbe"),
|
|
507
|
+
self._analysis.cache.get_f32_data("edep_umb"))
|
|
508
|
+
continue
|
|
485
509
|
self.edep_plots[k].fill(self._analysis.cache.get_f32_data(k))
|
|
486
510
|
self._analysis.cache.clear()
|
|
487
511
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|