Commit 3a135c22 authored by Theo Steininger's avatar Theo Steininger
Browse files

Refactored simple likelihood.

parent c98ebc8e
......@@ -8,7 +8,7 @@ from imagine.likelihoods.likelihood import Likelihood
class SimpleLikelihood(Likelihood):
def __init__(self, measured_data, data_covariance=None):
self.measured_data = measured_data
self.measured_data = self._strip_data(measured_data)
if isinstance(data_covariance, Field):
data_covariance = data_covariance.val.get_full_data()
self.data_covariance = data_covariance
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment