|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Public Member Functions | |
| bool | __bool__ (self) |
| int | __len__ (self) |
| str | method (self) |
| str | weakest_method (self) |
Static Public Attributes | |
| tuple | segments = () |
| tuple | warnings = () |
Every segment on one line, and the method in force across it.
Definition at line 166 of file segments.py.
| bool feedtwin.model.segments.LineLoss.__bool__ | ( | self | ) |
Definition at line 172 of file segments.py.
References feedtwin.comps.elements.SegmentedPipe.segments, feedtwin.model.component.ComponentInstance.segments, and segments.
| int feedtwin.model.segments.LineLoss.__len__ | ( | self | ) |
Definition at line 175 of file segments.py.
References feedtwin.comps.elements.SegmentedPipe.segments, feedtwin.model.component.ComponentInstance.segments, and segments.
| str feedtwin.model.segments.LineLoss.method | ( | self | ) |
The most authoritative method any segment declares. One line, one label. A run that is half flowed and half estimated is reported as well as its *best*-known part claims -- which is why this is a maximum over the ladder and not a mixture. It is a description of the line, not the recipe: each segment is still evaluated by its own method.
Definition at line 179 of file segments.py.
References min, feedtwin.comps.elements.SegmentedPipe.segments, feedtwin.model.component.ComponentInstance.segments, and segments.
| str feedtwin.model.segments.LineLoss.weakest_method | ( | self | ) |
The least authoritative method on the line. The one worth acting on. A run is only as trustworthy as its worst segment, so this is what a "which lines still need flowing" report reads.
Definition at line 192 of file segments.py.
References max, feedtwin.comps.elements.SegmentedPipe.segments, feedtwin.model.component.ComponentInstance.segments, and segments.
|
static |
Definition at line 169 of file segments.py.
Referenced by __bool__(), __len__(), method(), and weakest_method().
|
static |
Definition at line 170 of file segments.py.