finite_max

PlasmaCalcs.tools.arrays.finite_max(arr, *, if_empty=nan)

returns max of all the finite values of arr. (return if_empty if arr has no finite values.)