compute_fom#

Project.compute_fom(params: ndarray = None) float#

Compute the figure of merit for the current simulation.

Parameters:
paramsnp.ndarray, optional

Optimization parameters to update geometry with before computing FOM. If None, uses the current geometry without updating.

Returns:
fom_valuefloat

The computed figure of merit value.