optim.POCS#
- class bartorch.optim.POCS#
Bases:
Projection onto convex sets, looping
POCSBlock.maxitersweeps of the projections, each applied in turn. There is no stopping test:pocsruns its count out.- Parameters:
projections (sequence) – The sets to project onto, as
POCSBlocktakes them.maxiter (int, default=50) – Sweeps;
pocsense’s default is fifty.
Examples
>>> POCS([consistency, sense, sparsity], maxiter=50)(kspace)
- __call__()#
Sweep the projections, starting from
x0or from zero ofy’s shape.