Renamed variable step_size to omega

This commit is contained in:
Andreas Tsouchlos 2022-11-15 15:33:32 +01:00
parent 84e13bda91
commit b89379aa08

View File

@ -6,19 +6,19 @@ class ProximalDecoder:
by Tadashi Wadayama, and Satoshi Takabe.
"""
def __init__(self, H: np.array, K: int = 100, step_size: float = 0.1,
def __init__(self, H: np.array, K: int = 100, omega: float = 0.1,
gamma: float = 0.05, eta: float = 1.5):
"""Construct a new ProximalDecoder Object.
:param H: Parity Check Matrix
:param K: Max number of iterations to perform when decoding
:param step_size: Step size for the gradient descent process
:param omega: Step size for the gradient descent process
:param gamma: Positive constant. Arises in the approximation of the prior PDF
:param eta: Positive constant slightly larger than one. See 3.2, p. 3
"""
self._H = H
self._K = K
self._step_size = step_size
self._step_size = omega
self._gamma = gamma
self._eta = eta