cyrxnopt_analysis.transforms namespace

Submodules

cyrxnopt_analysis.transforms.GetFunctionName module

class cyrxnopt_analysis.transforms.GetFunctionName.GetFunctionName[source]

Bases: Transform

static map(results: List[OptimizerResult])[source]

Get the function name for each result based on the result file’s containing directory. The function name will be stored in the result object under the “function” key.

Parameters:

results (List[OptimizerResult]) – Result list to transform.

cyrxnopt_analysis.transforms.Transform module

class cyrxnopt_analysis.transforms.Transform.Transform[source]

Bases: ABC

map(results: List[OptimizerResult])[source]

Apply the transform to the list of results.

Parameters:

results (List[OptimizerResult]) – Results to transform

Raises:

RuntimeError – This function must be overridden by chilren.