default_value_getter#
- nextnano_optimizers.metric.default_value_getter(dfile)#
Get first value of the first variable in the datafile. Use for default extraction function.
- Parameters:
- dfilenextnanopy.DataFile
Datafile to read the value from.
- Returns:
- float
First value of the first variable in
dfile.