STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feedtwin.session.watch.Watcher Class Reference
Collaboration diagram for feedtwin.session.watch.Watcher:
[legend]

Public Member Functions

None __init__ (self)
list[Flag] open_flags (self)
None observe (self, "Session" session, SolverRecord record)

Public Attributes

Deque[Flag] flags = deque(maxlen=FLAGS_KEPT)

Protected Member Functions

None _update (self, float t, list[_Seen] seen)
Iterator[_Seen] _checks (self, "Session" session, SolverRecord record)

Protected Attributes

dict _open = {}
dict _since = {}
dict _floored = {}
dict _refused = {}
float|None _t = None
int _unconverged = 0
float|None _edge_since = None

Detailed Description

Checks a session's tick; keeps its flags.

Definition at line 120 of file watch.py.

Constructor & Destructor Documentation

◆ __init__()

None feedtwin.session.watch.Watcher.__init__ ( self)

Definition at line 123 of file watch.py.

Member Function Documentation

◆ _checks()

Iterator[_Seen] feedtwin.session.watch.Watcher._checks ( self,
"Session" session,
SolverRecord record )
protected

Definition at line 169 of file watch.py.

References _edge_since, _floored, feedtwin.session.watch._path_to_air(), _refused, _t, _unconverged, and max.

Referenced by observe().

◆ _update()

None feedtwin.session.watch.Watcher._update ( self,
float t,
list[_Seen] seen )
protected

Definition at line 146 of file watch.py.

References _open, _since, flags, route_t.flags, and ubx_pvt_t.flags.

Referenced by observe().

◆ observe()

None feedtwin.session.watch.Watcher.observe ( self,
"Session" session,
SolverRecord record )

Definition at line 137 of file watch.py.

References _checks(), and _update().

◆ open_flags()

list[Flag] feedtwin.session.watch.Watcher.open_flags ( self)

Definition at line 134 of file watch.py.

References flags, route_t.flags, and ubx_pvt_t.flags.

Member Data Documentation

◆ _edge_since

float | None feedtwin.session.watch.Watcher._edge_since = None
protected

Definition at line 131 of file watch.py.

Referenced by _checks().

◆ _floored

dict feedtwin.session.watch.Watcher._floored = {}
protected

Definition at line 127 of file watch.py.

Referenced by _checks().

◆ _open

dict feedtwin.session.watch.Watcher._open = {}
protected

Definition at line 125 of file watch.py.

Referenced by _update().

◆ _refused

dict feedtwin.session.watch.Watcher._refused = {}
protected

Definition at line 128 of file watch.py.

Referenced by _checks().

◆ _since

feedtwin.session.watch.Watcher._since = {}
protected

Definition at line 126 of file watch.py.

Referenced by _update().

◆ _t

float | None feedtwin.session.watch.Watcher._t = None
protected

Definition at line 129 of file watch.py.

Referenced by _checks().

◆ _unconverged

int feedtwin.session.watch.Watcher._unconverged = 0
protected

Definition at line 130 of file watch.py.

Referenced by _checks().

◆ flags

Deque[Flag] feedtwin.session.watch.Watcher.flags = deque(maxlen=FLAGS_KEPT)

Definition at line 124 of file watch.py.

Referenced by _update(), and open_flags().


The documentation for this class was generated from the following file:
  • lib/feedtwin/feedtwin/session/watch.py