sigpy.app.MaxEig

class sigpy.app.MaxEig(A, dtype=<class 'float'>, device=<CPU Device>, max_iter=30, show_pbar=True, leave_pbar=True)[source]

Computes maximum eigenvalue of a Linop.

Parameters:
  • A (Linop) – Hermitian linear operator.
  • dtype (Dtype) – Data type.
  • device (Device) – Device.
x

Eigenvector with largest eigenvalue.

Type:int
Output:
max_eig (int): Largest eigenvalue of A.
__init__(A, dtype=<class 'float'>, device=<CPU Device>, max_iter=30, show_pbar=True, leave_pbar=True)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(A[, dtype, device, max_iter, …]) Initialize self.
run() Run the App.