STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feedtwin.model.segments.LineLoss Class Reference

Public Member Functions

bool __bool__ (self)
int __len__ (self)
str method (self)
str weakest_method (self)

Static Public Attributes

tuple segments = ()
tuple warnings = ()

Detailed Description

Every segment on one line, and the method in force across it.

Definition at line 166 of file segments.py.

Member Function Documentation

◆ __bool__()

bool feedtwin.model.segments.LineLoss.__bool__ ( self)

◆ __len__()

int feedtwin.model.segments.LineLoss.__len__ ( self)

◆ method()

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.

◆ weakest_method()

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.

Member Data Documentation

◆ segments

feedtwin.model.segments.LineLoss.segments = ()
static

Definition at line 169 of file segments.py.

Referenced by __bool__(), __len__(), method(), and weakest_method().

◆ warnings

tuple feedtwin.model.segments.LineLoss.warnings = ()
static

Definition at line 170 of file segments.py.


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