auviewer.series module

class auviewer.series.Series(ds, timecol, valcol, fileparent)[source]

Bases: object

addData(data)[source]
generateThresholdAlerts(thresholdlow, thresholdhigh, mode, duration, persistence, maxgap, expected_frequency=0, min_density=0, drop_values_below=None, drop_values_above=None, drop_values_between=None)[source]
getDataAsDF()[source]

Returns the series data as a Pandas DataFrame, with columns time and value. Does not cache data in the class instance after returning.

getFullOutput()[source]
getRangedOutput(starttime, stoptime)[source]
initializeRawDataInMemory()[source]
processAndStore()[source]
pullRawDataIntoMemory(returnValuesOnly=False)[source]

Pulls the raw data for the series from the file into memory (self.rawTimeOffsets and self.rawValues). If the returnValuesOnly is set, the function will return a tuple with the times & values and not hold them in the class instance.

auviewer.series.simpleSeriesName(s)[source]