gondola 0.11.43__tar.gz → 0.11.44__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.43 → gondola-0.11.44}/Cargo.lock +1 -1
- {gondola-0.11.43 → gondola-0.11.44}/Cargo.toml +1 -1
- {gondola-0.11.43 → gondola-0.11.44}/PKG-INFO +1 -1
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/io/__init__.py +3 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/tof_writer.rs +18 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/lib.rs +1 -0
- {gondola-0.11.43 → gondola-0.11.44}/.gitignore +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/README.md +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/alert-manifest-test.toml +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/benches/bench.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/build.sh +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/diesel.toml +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/gondola-0.11.24-cp311-abi3-manylinux_2_34_x86_64.whl +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/liftof-config-decompressed.toml +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/liftof-config-default.toml +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/liftof-config-test-changed.toml +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/liftof-config.diff +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/liftof-config.toml +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/publish_to_bluejay.sh +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/pyproject.toml +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/__init__.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/calibration.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/db.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/events.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/gaps_flight.db +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/io/streamers.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/reconstruction/__init__.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/tof/__init__.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/tof/analysis.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/tracker/__init__.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/tracker/analysis.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/visual/__init__.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/visual/tof.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/python/gondola/visual/tracker.py +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/calibration/tof.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/calibration/tracker.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/calibration.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/constants.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/database/schema.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/database.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/errors.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/events/rb_event.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/events/rb_event_header.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/events/rb_waveform.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/events/telemetry_event.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/events/tof_event.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/events/tof_hit.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/events/tracker_hit.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/events.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/caraspace/frame.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/caraspace/reader.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/caraspace/socket_reader.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/caraspace/writer.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/caraspace.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/data_source.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/ipbus.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/parsers.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/root_reader.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/serialization.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/streamers.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/telemetry_reader.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io/tof_reader.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/io.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/monitoring/cpu_moni_data.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/monitoring/heartbeats/data_sink_hb.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/monitoring/heartbeats/event_builder_hb.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/monitoring/heartbeats/master_trigger_hb.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/monitoring/heartbeats.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/monitoring/ltb_moni_data.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/monitoring/mtb_moni_data.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/monitoring/pa_moni_data.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/monitoring/pb_moni_data.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/monitoring/rb_moni_data.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/monitoring/run_statistics.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/monitoring.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/packets/bfsw_ack_packet.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/packets/gps_packet.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/packets/magnetometer.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/packets/pdu_packet.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/packets/telemetry_packet.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/packets/telemetry_packet_header.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/packets/telemetry_packet_type.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/packets/tof_packet.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/packets/tof_packet_type.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/packets/tracker.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/packets/tracker_header.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/packets.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/prelude.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/python.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/random.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/stats.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/alerts.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/algorithms.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/analysis.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/analysis_engine.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/commands.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/config.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/cuts.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/detector_status.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/master_trigger/control.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/master_trigger/registers.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/master_trigger.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/panic.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/rb_paddle_id.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/settings.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/signal_handler.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/thread_control.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof/tof_response.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tof.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tracker/strips.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/tracker.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/src/version.rs +0 -0
- {gondola-0.11.43 → gondola-0.11.44}/tests/test.rs +0 -0
|
@@ -40,6 +40,9 @@ CRFrame.__name__ = 'CRFrame'
|
|
|
40
40
|
TofPacketReader = _gc.io.TofPacketReader
|
|
41
41
|
TofPacketReader.__module__ = __name__
|
|
42
42
|
TofPacketReader.__name__ = 'TofPacketReader'
|
|
43
|
+
TofPacketWriter = _gc.io.TofPacketWriter
|
|
44
|
+
TofPacketWriter.__module__ = __name__
|
|
45
|
+
TofPacketWriter.__name__ = 'TofPacketWriter'
|
|
43
46
|
|
|
44
47
|
TelemetryPacketReader = _gc.io.TelemetryPacketReader
|
|
45
48
|
TelemetryPacketReader.__module__ = __name__
|
|
@@ -8,6 +8,7 @@ use crate::prelude::*;
|
|
|
8
8
|
/// Operates sequentially, packets can
|
|
9
9
|
/// be added one at a time, then will
|
|
10
10
|
/// be synced to disk.
|
|
11
|
+
#[cfg_attr(feature="pybindings", pyclass)]
|
|
11
12
|
pub struct TofPacketWriter {
|
|
12
13
|
|
|
13
14
|
pub file : File,
|
|
@@ -35,6 +36,23 @@ pub struct TofPacketWriter {
|
|
|
35
36
|
file_nbytes_wr : usize,
|
|
36
37
|
}
|
|
37
38
|
|
|
39
|
+
#[cfg(feature="pybindings")]
|
|
40
|
+
#[pymethods]
|
|
41
|
+
impl TofPacketWriter {
|
|
42
|
+
|
|
43
|
+
#[new]
|
|
44
|
+
fn new_py(filename : String, runid : u32) -> PyResult<Self> {
|
|
45
|
+
let writer = TofPacketWriter::new(filename, FileType::RunFile(runid));
|
|
46
|
+
Ok(writer)
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
#[pyo3(name="add_tof_packet")]
|
|
50
|
+
pub fn add_tof_packet_py(&mut self, packet : &TofPacket) {
|
|
51
|
+
self.add_tof_packet(packet);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
}
|
|
55
|
+
|
|
38
56
|
impl TofPacketWriter {
|
|
39
57
|
|
|
40
58
|
/// Instantiate a new PacketWriter
|
|
@@ -315,6 +315,7 @@ fn io_py<'_py>(m: &Bound<'_py, PyModule>) -> PyResult<()> {
|
|
|
315
315
|
m.add_class::<CRReader>()?;
|
|
316
316
|
m.add_class::<CRWriter>()?;
|
|
317
317
|
m.add_class::<TofPacketReader>()?;
|
|
318
|
+
m.add_class::<TofPacketWriter>()?;
|
|
318
319
|
m.add_class::<TelemetryPacketReader>()?;
|
|
319
320
|
//m.add_class::<PyDataSource>()?;
|
|
320
321
|
Ok(())
|
|
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
|