diff --git a/src/darsia/measure/wasserstein.py b/src/darsia/measure/wasserstein.py index d1340449..6d48cfa1 100644 --- a/src/darsia/measure/wasserstein.py +++ b/src/darsia/measure/wasserstein.py @@ -207,6 +207,10 @@ def _setup_face_weights(self) -> None: """np.ndarray: cell weights""" self.face_weights = np.ones(self.grid.num_faces, dtype=float) """np.ndarray: face weights""" + self.isotropic_cell_weights = self.cell_weights + """np.ndarray: isotropic cell weights""" + self.isotropic_face_weights = self.face_weights + """np.ndarray: isotropic face weights""" else: self.cell_weights = self.weight.img self.face_weights = 1.0 / darsia.cell_to_face_average(