Likelihoods¶
-
class
tramp.likelihoods.
AsymmetricAbsLikelihood
(y, y_name='y', isotropic=True, shift=0.0001)[source]¶
-
class
tramp.likelihoods.
ModulusLikelihood
(y, y_name='y', isotropic=True)[source]¶ Modulus likelihood \(y = |z|\).
- Parameters
y (ndarray) – observed modulus
y_name (str) – name of y for display
Notes
For message passing it is more convenient to represent the complex array z as a real array Z where Z[0] = z.real and Z[1] = z.imag