AmplitudeLoss#

class deepinv.optim.AmplitudeLoss[source]#

Bases: DataFidelity

Amplitude loss as the data fidelity term for deepinv.physics.PhaseRetrieval() reconstrunction.

In this case, the data fidelity term is defined as

f(x)=i=1m(|bix|2yi)2,

where bi is the i-th row of the linear operator B of the phase retrieval class and yi is the i-th entry of the measurements, and m is the number of measurements.