respace.ResultSet.set_compute_fun#

ResultSet.set_compute_fun(res_name: str, compute_fun: Callable[[...], Any]) None[source]#

Set the computing funtion for res_name.

Parameters:
res_namestr

Name of the result for which to set the computing function.

compute_funComputeFunType

New computing function of res_name to set.