LION.classical_algorithms.spgl1_torch¶
- LION.classical_algorithms.spgl1_torch(op, y, **spgl1_kwargs)[source]¶
Solves an l1 sparse reconstruction by SPGL1 (van den Berg and Friedlander, 2008), the spectral projected-gradient method of the
spgl1package, withop(a linear operator, called asop(w)andop.adjoint(r)) for the products.y: the measurements (M,); other keyword arguments go tospgl1.spgl1as they are (its tolerances, iterations, …; https://spgl1.readthedocs.io). Returns the coefficients, with the shape ofop.adjoint(y).References: van den Berg and Friedlander, “Probing the Pareto frontier for basis pursuit solutions”, SIAM J. Scientific Computing 31(2):890-912, 2008; “Sparse optimisation with least-squares constraints”, TR-2010-02, University of British Columbia, 2010.