gondola 0.11.47__tar.gz → 0.11.50__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.47 → gondola-0.11.50}/Cargo.lock +1 -1
- {gondola-0.11.47 → gondola-0.11.50}/Cargo.toml +1 -1
- {gondola-0.11.47 → gondola-0.11.50}/PKG-INFO +1 -1
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/db.py +8 -1
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/events.py +6 -1
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/tof/__init__.py +18 -9
- {gondola-0.11.47 → gondola-0.11.50}/src/events/telemetry_event.rs +12 -2
- {gondola-0.11.47 → gondola-0.11.50}/.gitignore +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/README.md +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/alert-manifest-test.toml +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/benches/bench.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/build.sh +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/diesel.toml +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/liftof-config-decompressed.toml +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/liftof-config-test-changed.toml +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/liftof-config.diff +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/publish_to_bluejay.sh +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/pyproject.toml +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/__init__.py +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/calibration.py +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/gaps_flight.db +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/io/__init__.py +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/io/streamers.py +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/reconstruction/__init__.py +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/tof/analysis.py +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/tracker/__init__.py +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/tracker/analysis.py +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/visual/__init__.py +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/visual/tof.py +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/python/gondola/visual/tracker.py +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/calibration/tof.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/calibration/tracker.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/calibration.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/constants.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/database/schema.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/database.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/errors.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/events/rb_event.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/events/rb_event_header.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/events/rb_waveform.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/events/tof_event.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/events/tof_hit.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/events/tracker_hit.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/events.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/caraspace/frame.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/caraspace/reader.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/caraspace/socket_reader.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/caraspace/writer.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/caraspace.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/data_source.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/ipbus.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/parsers.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/root_reader.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/serialization.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/streamers.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/telemetry_reader.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/tof_reader.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io/tof_writer.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/io.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/lib.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/monitoring/cpu_moni_data.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/monitoring/heartbeats/data_sink_hb.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/monitoring/heartbeats/event_builder_hb.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/monitoring/heartbeats/master_trigger_hb.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/monitoring/heartbeats.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/monitoring/ltb_moni_data.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/monitoring/mtb_moni_data.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/monitoring/pa_moni_data.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/monitoring/pb_moni_data.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/monitoring/rb_moni_data.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/monitoring/run_statistics.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/monitoring.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/packets/bfsw_ack_packet.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/packets/gps_packet.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/packets/magnetometer.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/packets/pdu_packet.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/packets/telemetry_packet.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/packets/telemetry_packet_header.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/packets/telemetry_packet_type.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/packets/tof_packet.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/packets/tof_packet_type.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/packets/tracker.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/packets/tracker_header.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/packets.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/prelude.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/python.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/random.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/stats.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/alerts.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/algorithms.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/analysis.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/analysis_engine.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/commands.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/config.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/cuts.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/detector_status.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/master_trigger/control.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/master_trigger/registers.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/master_trigger.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/panic.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/rb_paddle_id.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/settings.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/signal_handler.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/thread_control.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof/tof_response.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tof.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tracker/strips.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/tracker.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/src/version.rs +0 -0
- {gondola-0.11.47 → gondola-0.11.50}/tests/test.rs +0 -0
|
@@ -36,12 +36,19 @@ TofPaddleTimingConstant = _gc.db.TofPaddleTimingConstant
|
|
|
36
36
|
TofPaddleTimingConstant.__module__ = __name__
|
|
37
37
|
TofPaddleTimingConstant.__name__ = 'TofPaddleTimingConstant'
|
|
38
38
|
get_all_rbids_in_db = _gc.db.get_all_rbids_in_db
|
|
39
|
+
get_all_rbids_in_db.__module__ = __name__
|
|
40
|
+
|
|
39
41
|
get_hid_vid_map = _gc.db.get_hid_vid_map
|
|
42
|
+
get_hid_vid_map.__module__ = __name__
|
|
43
|
+
|
|
40
44
|
get_vid_hid_map = _gc.db.get_vid_hid_map
|
|
45
|
+
get_vid_hid_map.__module__ = __name__
|
|
46
|
+
|
|
41
47
|
get_dsi_j_ch_pid_map = _gc.db.get_dsi_j_ch_pid_map
|
|
48
|
+
get_dsi_j_ch_pid_map.__module__ = __name__
|
|
42
49
|
|
|
43
50
|
__all__ = ['TofPaddle','ReadoutBoard', 'TofPaddleTimingConstant', 'TrackerStrip','TrackerStripPedestal', 'TrackerStripTransferFunction',\
|
|
44
|
-
'TrackerStripCmnNoise']
|
|
51
|
+
'TrackerStripCmnNoise','get_all_rbids_in_db','get_hid_vid_map','get_vid_hid_map','get_dsi_j_ch_pid_map']
|
|
45
52
|
|
|
46
53
|
#----------------------------------------
|
|
47
54
|
# extend the TofPaddles with a few methods
|
|
@@ -29,10 +29,15 @@ TelemetryEvent.__module__ = __name__
|
|
|
29
29
|
TelemetryEvent.__name__ = 'TelemetryEvent'
|
|
30
30
|
# functions
|
|
31
31
|
strip_id = _gondola_core.events.strip_id
|
|
32
|
+
strip_id.__module__ = __name__
|
|
32
33
|
# enums
|
|
33
34
|
EventQuality = _gondola_core.events.EventQuality
|
|
35
|
+
EventQuality.__module__ = __name__
|
|
34
36
|
TriggerType = _gondola_core.events.TriggerType
|
|
37
|
+
TriggerType.__module__ = __name__
|
|
35
38
|
LTBThreshold = _gondola_core.events.LTBThreshold
|
|
39
|
+
LTBThreshold.__module__ = __name__
|
|
36
40
|
EventStatus = _gondola_core.events.EventStatus
|
|
41
|
+
EventStatus.__module__ = __name__
|
|
37
42
|
DataType = _gondola_core.events.DataType
|
|
38
|
-
|
|
43
|
+
DataType.__module__ = __name__
|
|
@@ -68,47 +68,56 @@ MasterTrigger.__name__ = 'MasterTrigger'
|
|
|
68
68
|
|
|
69
69
|
## command factories
|
|
70
70
|
start_run = _gc.tof.start_run
|
|
71
|
-
|
|
71
|
+
start_run.__module__ = __name__
|
|
72
72
|
#start_run.__name___ = 'start_run'
|
|
73
73
|
#
|
|
74
74
|
stop_run = _gc.tof.stop_run
|
|
75
|
-
|
|
75
|
+
stop_run.__module__ = __name__
|
|
76
76
|
#stop_run.__name___ = 'stop_run'
|
|
77
77
|
#
|
|
78
78
|
enable_verification_run = _gc.tof.enable_verification_run
|
|
79
|
-
|
|
79
|
+
enable_verification_run.__module__ = __name__
|
|
80
80
|
#enable_verification_run.__name___ = 'enable_verification_run'
|
|
81
81
|
#
|
|
82
82
|
restart_liftofrb = _gc.tof.restart_liftofrb
|
|
83
|
-
|
|
83
|
+
restart_liftofrb.__module__ = __name__
|
|
84
84
|
#restart_liftofrb.__name__ = 'restart_liftofrb'
|
|
85
85
|
#
|
|
86
86
|
shutdown_all_rbs = _gc.tof.shutdown_all_rbs
|
|
87
|
-
|
|
87
|
+
shutdown_all_rbs.__module__ = __name__
|
|
88
88
|
#shutdown_all_rbs.__name__ = 'shutdown_all_rbs'
|
|
89
89
|
#
|
|
90
90
|
shutdown_rat = _gc.tof.shutdown_rat
|
|
91
|
-
|
|
91
|
+
shutdown_rat.__module__ = __name__
|
|
92
92
|
#shutdown_rat.__name__ = 'shutdown_rat'
|
|
93
93
|
#
|
|
94
94
|
shutdown_ratpair = _gc.tof.shutdown_ratpair
|
|
95
|
-
|
|
95
|
+
shutdown_ratpair.__module__ = __name__
|
|
96
96
|
#shutdown_ratpair.__name__ = 'shutdown_ratpair'
|
|
97
97
|
#
|
|
98
98
|
shutdown_rb = _gc.tof.shutdown_rb
|
|
99
|
-
|
|
99
|
+
shutdown_rb.__module__ = __name__
|
|
100
100
|
#shutdown_rb.__name__ = 'shutdown_rb'
|
|
101
101
|
#
|
|
102
102
|
shutdown_tofcpu = _gc.tof.shutdown_tofcpu
|
|
103
|
-
|
|
103
|
+
shutdown_tofcpu.__module__ = __name__
|
|
104
104
|
#shutdown_tofcpu.__name__ = 'shutdown_tofcpu'
|
|
105
105
|
#
|
|
106
106
|
run_action_alfa = _gc.tof.run_action_alfa
|
|
107
|
+
run_action_alfa.__module__ = __name__
|
|
107
108
|
run_action_bravo = _gc.tof.run_action_bravo
|
|
109
|
+
run_action_bravo.__module__ = __name__
|
|
108
110
|
run_action_charlie = _gc.tof.run_action_charlie
|
|
111
|
+
run_action_charlie.__module__ = __name__
|
|
109
112
|
run_action_whiskey = _gc.tof.run_action_whiskey
|
|
113
|
+
run_action_whiskey.__module__ = __name__
|
|
110
114
|
run_action_tango = _gc.tof.run_action_tango
|
|
115
|
+
run_action_tango.__module__ = __name__
|
|
111
116
|
run_action_foxtrott = _gc.tof.run_action_foxtrott
|
|
117
|
+
run_action_foxtrott.__module__ = __name__
|
|
112
118
|
request_liftof_setitngs = _gc.tof.request_liftof_settings
|
|
119
|
+
request_liftof_setitngs.__module__ = __name__
|
|
113
120
|
apply_settings_diff = _gc.tof.apply_settings_diff
|
|
121
|
+
apply_settings_diff.__module__ = __name__
|
|
114
122
|
restore_default_config = _gc.tof.restore_default_config
|
|
123
|
+
restore_default_config.__module__ = __name__
|
|
@@ -269,8 +269,11 @@ impl Serialization for TelemetryEvent {
|
|
|
269
269
|
impl fmt::Display for TelemetryEvent {
|
|
270
270
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
|
271
271
|
let mut repr = String::from("<TelemetryEvent:");
|
|
272
|
+
let mut te = self.tof_event.clone();
|
|
273
|
+
te.calc_gcu_variables();
|
|
272
274
|
let tof_str = format!("\n {}", self.tof_event);
|
|
273
275
|
let mut good_hits = 0;
|
|
276
|
+
|
|
274
277
|
if self.version == 0 {
|
|
275
278
|
repr += "\n VERSION 0 NOT SUPPORTED!!";
|
|
276
279
|
} else if self.version == 1 {
|
|
@@ -280,8 +283,15 @@ impl fmt::Display for TelemetryEvent {
|
|
|
280
283
|
}
|
|
281
284
|
repr += &(format!(" {}", self.header));
|
|
282
285
|
repr += "\n ** ** ** MERGED ** ** **";
|
|
283
|
-
repr += &(format!("\n version
|
|
284
|
-
repr += &(format!("\n event ID
|
|
286
|
+
repr += &(format!("\n version {}", self.version));
|
|
287
|
+
repr += &(format!("\n event ID {}", self.event_id));
|
|
288
|
+
repr += "\n ** ** ** TOF GCU VARIABLES ** ** **";
|
|
289
|
+
repr += &(format!("\n n_hits_umb {}", te.n_hits_umb));
|
|
290
|
+
repr += &(format!("\n n_hits_cbe {}", te.n_hits_cbe));
|
|
291
|
+
repr += &(format!("\n n_hits_cor {}", te.n_hits_cor));
|
|
292
|
+
repr += &(format!("\n tot_edep_umb {}", te.tot_edep_umb));
|
|
293
|
+
repr += &(format!("\n tot_edep_cbe {}", te.tot_edep_cbe));
|
|
294
|
+
repr += &(format!("\n tot_edep_cor {}", te.tot_edep_cor));
|
|
285
295
|
if self.version == 0 {
|
|
286
296
|
repr += "\n VERSION 0 NOT SUPPORTED!!";
|
|
287
297
|
}
|
|
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
|