CADETProcess.stationarity.StationarityEvaluator.extract_solution#
- StationarityEvaluator.extract_solution(simulation_results, metric)#
Extract the solution for a given metric from the SimulationResults object.
- Parameters:
- simulation_resultsSimulationResults
The SimulationResults object containing the solution.
- metricMetric
The Metric object for which to extract the solution.
- Returns:
- numpy.ndarray
The solution array for the given metric.
- Raises:
- CADETProcessError
If the solution path for the given metric is not found.