Get metadata about the binary file. Returns: dict: File metadata including: - sample_count: Number of samples in the file - sample_interval_us: Sampling interval in microseconds - start_time_us: Start timestamp in microseconds
(self)
| 39 | return False |
| 40 | |
| 41 | def get_info(self): |
| 42 | """Get metadata about the binary file. |
| 43 | |
| 44 | Returns: |
| 45 | dict: File metadata including: |
| 46 | - sample_count: Number of samples in the file |
| 47 | - sample_interval_us: Sampling interval in microseconds |
| 48 | - start_time_us: Start timestamp in microseconds |
| 49 | - string_count: Number of unique strings |
| 50 | - frame_count: Number of unique frames |
| 51 | - compression: Compression type used |
| 52 | """ |
| 53 | if self._reader is None: |
| 54 | raise RuntimeError("Reader not open. Use as context manager.") |
| 55 | return self._reader.get_info() |
| 56 | |
| 57 | def replay_samples(self, collector, progress_callback=None): |
| 58 | """Replay samples from binary file through a collector. |
no outgoing calls