STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feedtwin.model.param.Provenance Class Reference
Inheritance diagram for feedtwin.model.param.Provenance:
[legend]
Collaboration diagram for feedtwin.model.param.Provenance:
[legend]

Public Member Functions

int rank (self)
bool is_assumed (self)

Static Public Attributes

str MEASURED = "measured"
str MANUFACTURER = "manufacturer"
str ESTIMATED = "estimated"
str DEFAULT = "default"

Static Protected Attributes

dict _RANKS

Detailed Description

Where a value came from, ordered by how much weight it carries.

Definition at line 37 of file param.py.

Member Function Documentation

◆ is_assumed()

bool feedtwin.model.param.Provenance.is_assumed ( self)
True for values nobody has actually established.

Definition at line 58 of file param.py.

◆ rank()

int feedtwin.model.param.Provenance.rank ( self)
Higher is more authoritative. Drives catalog override precedence.

Definition at line 53 of file param.py.

Member Data Documentation

◆ _RANKS

dict feedtwin.model.param.Provenance._RANKS
staticprotected
Initial value:
= {
Provenance.MEASURED: 3,
Provenance.MANUFACTURER: 2,
Provenance.ESTIMATED: 1,
Provenance.DEFAULT: 0,
}

Definition at line 63 of file param.py.

◆ DEFAULT

str feedtwin.model.param.Provenance.DEFAULT = "default"
static

Definition at line 49 of file param.py.

◆ ESTIMATED

str feedtwin.model.param.Provenance.ESTIMATED = "estimated"
static

Definition at line 46 of file param.py.

◆ MANUFACTURER

str feedtwin.model.param.Provenance.MANUFACTURER = "manufacturer"
static

Definition at line 43 of file param.py.

◆ MEASURED

str feedtwin.model.param.Provenance.MEASURED = "measured"
static

Definition at line 40 of file param.py.


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