nextnano_optimizers.metric module#

The nextnano_optimizers.metric module provides tools for converting simulation output datafiles into objective values.

Metric

Defines how simulation output datafiles are converted into numerical objective values using a user-defined extraction function.

default_value_getter

Get first value of the first variable in the datafile.

default_extractor

Default extractor function for the metric.