perun.processing¶
Processing Module.
Attributes¶
Functions¶
|
Calculate total energy and average power from an energy or power time series. |
|
Calculate metrics based on raw values. |
|
Recursively calculate metrics on the dataNode tree. |
|
Complete region information using sensor data found on the data node (in place op). |
|
Process run and runtime stats in region objects (in place operation). |
Extract a time range out of a time series, and interpolate the values at the edges. |
Module Contents¶
- perun.processing.processEnergyData(raw_data: perun.data_model.data.RawData, start: perun.data_model.measurement_type.Number | None = None, end: perun.data_model.measurement_type.Number | None = None) tuple[Any, Any][source]¶
Calculate total energy and average power from an energy or power time series.
Using the start and end parameters the results can be limited to certain areas of the application run.
- perun.processing.processSensorData(sensorData: perun.data_model.data.DataNode) perun.data_model.data.DataNode[source]¶
Calculate metrics based on raw values.
- perun.processing.processDataNode(dataNode: perun.data_model.data.DataNode, perunConfig: configparser.ConfigParser, force_process: bool = False) perun.data_model.data.DataNode[source]¶
Recursively calculate metrics on the dataNode tree.
- perun.processing.processRegionsWithSensorData(regions: list[perun.data_model.data.Region], dataNode: perun.data_model.data.DataNode) None[source]¶
Complete region information using sensor data found on the data node (in place op).
- perun.processing.addRunAndRuntimeInfoToRegion(region: perun.data_model.data.Region) None[source]¶
Process run and runtime stats in region objects (in place operation).
- Parameters:
region (Region) – Region object
- perun.processing.getInterpolatedValues(t: numpy.typing.NDArray[numpy.floating], x: numpy.typing.NDArray[numpy.floating], start: perun.data_model.measurement_type.Number, end: perun.data_model.measurement_type.Number) tuple[numpy.typing.NDArray[numpy.floating], numpy.typing.NDArray[numpy.floating]][source]¶
Extract a time range out of a time series, and interpolate the values at the edges.