![]() |
ATLAS Offline Software
|
Analytics service class. More...
Public Member Functions | |
| __init__ (self, **kwargs) | |
| fit (self, x, y, model='linear') | |
| Fitting function For a linear model: y(x) = slope * x + intersect. | |
| slope (self) | |
| getFittedData (self, filename, x_name='Time', y_name='pss', precision=2, tails=False, minPoints=5) | |
| extractFromTable (self, table, x_name, y_name) | |
| formatBytes (self, size) | |
Static Protected Attributes | |
| _fit = None | |
Analytics service class.
Definition at line 1252 of file trfUtils.py.
| python.trfUtils.analytic.__init__ | ( | self, | |
| ** | kwargs ) |
Definition at line 1256 of file trfUtils.py.
| python.trfUtils.analytic.extractFromTable | ( | self, | |
| table, | |||
| x_name, | |||
| y_name ) |
Definition at line 1335 of file trfUtils.py.
| python.trfUtils.analytic.fit | ( | self, | |
| x, | |||
| y, | |||
| model = 'linear' ) |
Fitting function For a linear model: y(x) = slope * x + intersect.
| x | list of input data (list of floats or ints). |
| y | list of input data (list of floats or ints). |
| model | model name (string). |
Definition at line 1264 of file trfUtils.py.
| python.trfUtils.analytic.formatBytes | ( | self, | |
| size ) |
Definition at line 1363 of file trfUtils.py.
| python.trfUtils.analytic.getFittedData | ( | self, | |
| filename, | |||
| x_name = 'Time', | |||
| y_name = 'pss', | |||
| precision = 2, | |||
| tails = False, | |||
| minPoints = 5 ) |
Definition at line 1292 of file trfUtils.py.
| python.trfUtils.analytic.slope | ( | self | ) |
Definition at line 1273 of file trfUtils.py.
|
staticprotected |
Definition at line 1254 of file trfUtils.py.