The SumParser emits bandwidth sum lines
Methods
__init__(*args, **kwargs) | |||
bandwidth(match) |
|
||
filename(basename) | Changes the extension of the basename to .csv | ||
pipe(*args, **kwargs) | |||
reset() | Resets the attributes set during parsing | ||
search(line) |
|
||
valid(match) |
|
Attributes
bandwidths | Traverses self.interval’s keys in sorted order and generates their bandwidths. | ||
SumParser.conversion | |||
SumParser.intervals | |||
logger |
|
||
regex |
|
Param: |
|
---|---|
Return type: | float |
Returns: | the bandwidth in the self.units |
Changes the extension of the basename to .csv
Param: |
|
---|---|
Returns: | the filename with the extension changed to .csv |
Resets the attributes set during parsing
Param: |
|
---|---|
Returns: | match dict or None |
Param: |
|
---|---|
Return type: | float |
Returns: | the transfer in the self.units |
traverses the intervals, infilling missing intervals
Param: |
|
---|---|
Yield: | next value for the interval |
Param: |
|
---|---|
Returns: | True if the end-start interval is valid (within tolerance) |
Traverses self.interval’s keys in sorted order and generates their bandwidths.
Yield: | self.interval’s values in the sorted order of the intervals |
---|
Returns: | A logging object. |
---|
a hack to handle the fact that only the bandwidth units are being specified
generator of transfer values
Yield: | converted transfer interval values |
---|