Processing Core¶
-
class
pymoskito.processing_core.
PostProcessingModule
[source]¶ Base Class for Postprocessing Modules
-
static
calc_l1_norm_abs
(meas_values, desired_values, step_width)[source]¶ Calculate the L1-Norm of the absolute error.
Parameters: - step_width (float) – Time difference between measurements.
- desired_values (array-like) – Desired values.
- meas_values (array-like) – Measured values.
-
static
calc_l1_norm_itae
(meas_values, desired_values, step_width)[source]¶ Calculate the L1-Norm of the ITAE (Integral of Time-multiplied Absolute value of Error).
Parameters: - step_width (float) – Time difference between measurements.
- desired_values (array-like) – Desired values.
- meas_values (array-like) – Measured values.
-
process
(files)[source]¶ worker-wrapper function that processes an array of result files This is an convenience wrapper for simple processor implementation. Overload for more sophisticated implementations :param files:
-
run
(data)[source]¶ Run this postprocessor.
This function will be called from
process()
with the simulation results from one simulation result file.Overwrite this function to implement your own PostProcessor.
Args; param data: simulation results from a pymoskito simulation result file.
Returns: With a figure Canvas an a name. Return type: Dict
-
static
-
class
pymoskito.processing_core.
MetaProcessingModule
[source]¶ Base Class for Meta-Processing Modules