sigpy.alg.AltMin¶
-
class
sigpy.alg.
AltMin
(min1, min2, max_iter=30)[source]¶ Alternating minimization.
Parameters: - min1 (function) – Function to minimize over variable 1.
- min2 (function) – Funciton to minimize over variable 2.
- max_iter (int) – Maximum number of iterations.
-
__init__
(min1, min2, max_iter=30)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(min1, min2[, max_iter])Initialize self. done
()Return whether the algorithm is done. update
()Perform one update step.