simpeg.optimization.ProjectedGradient.callback#

property ProjectedGradient.callback#

A used defined callback function.

Returns:
None or Callable[[np.ndarray], Any]

The optional user supplied callback function accepting the current iteration value as an input.