STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
board_simulator.TimingPathology Class Reference

Public Member Functions

 __init__ (self, chunks_per_packet=1, net_jitter_ms=0.0, clock_drift_ppm=0.0, clock_offset_ms=0.0, reboot_after_s=None, start_near_wrap=False)

Public Attributes

 chunks_per_packet = max(1, int(chunks_per_packet))
 net_jitter_ms = float(net_jitter_ms)
 clock_drift_ppm = float(clock_drift_ppm)
 clock_offset_ms = float(clock_offset_ms)
 reboot_after_s = reboot_after_s
 start_near_wrap = bool(start_near_wrap)

Detailed Description

Deliberate timing defects for exercising the bridge's clock sync.

All default off → simulator behaves exactly as before. See --net-jitter-ms,
--clock-drift-ppm, --clock-offset-ms, --reboot-after, --start-near-wrap,
--chunks-per-packet.

Definition at line 54 of file board_simulator.py.

Constructor & Destructor Documentation

◆ __init__()

board_simulator.TimingPathology.__init__ ( self,
chunks_per_packet = 1,
net_jitter_ms = 0.0,
clock_drift_ppm = 0.0,
clock_offset_ms = 0.0,
reboot_after_s = None,
start_near_wrap = False )

Definition at line 62 of file board_simulator.py.

Member Data Documentation

◆ chunks_per_packet

board_simulator.TimingPathology.chunks_per_packet = max(1, int(chunks_per_packet))

Definition at line 71 of file board_simulator.py.

◆ clock_drift_ppm

board_simulator.TimingPathology.clock_drift_ppm = float(clock_drift_ppm)

Definition at line 73 of file board_simulator.py.

◆ clock_offset_ms

board_simulator.TimingPathology.clock_offset_ms = float(clock_offset_ms)

Definition at line 74 of file board_simulator.py.

◆ net_jitter_ms

board_simulator.TimingPathology.net_jitter_ms = float(net_jitter_ms)

Definition at line 72 of file board_simulator.py.

◆ reboot_after_s

board_simulator.TimingPathology.reboot_after_s = reboot_after_s

Definition at line 75 of file board_simulator.py.

◆ start_near_wrap

board_simulator.TimingPathology.start_near_wrap = bool(start_near_wrap)

Definition at line 76 of file board_simulator.py.


The documentation for this class was generated from the following file: