Skip to content

Commit

Permalink
added missed curvature_unwrapped_universe_xy
Browse files Browse the repository at this point in the history
  • Loading branch information
ojeda-e committed Aug 2, 2021
1 parent 4f3e4d7 commit 4aa405c
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions membrane_curvature/tests/test_membrane_curvature.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,12 +404,8 @@ def test_analysis_mean_wrap(self, curvature_unwrapped_universe, dummy_surface):
expected_mean = mean_curvature(dummy_surface)
assert_almost_equal(avg_mean, expected_mean)

def test_analysis_mean_wrap_xy(self, universe_dummy_wrap_xy, dummy_surface):
x_bin = y_bin = 3
mc = MembraneCurvature(universe_dummy_wrap_xy,
n_x_bins=x_bin,
n_y_bins=y_bin).run()
avg_mean = mc.results.average_mean
def test_analysis_mean_wrap_xy(self, curvature_unwrapped_universe, dummy_surface):
avg_mean = curvature_unwrapped_universe.results.average_mean
expected_mean = mean_curvature(dummy_surface)
assert_almost_equal(avg_mean, expected_mean)

Expand All @@ -419,12 +415,8 @@ def test_analysis_gaussian_wrap(self, curvature_unwrapped_universe, dummy_surfac
expected_gaussian = gaussian_curvature(dummy_surface)
assert_almost_equal(avg_gaussian, expected_gaussian)

def test_analysis_mean_gaussian_wrap_xy(self, universe_dummy_wrap_xy, dummy_surface):
x_bin = y_bin = 3
mc = MembraneCurvature(universe_dummy_wrap_xy,
n_x_bins=x_bin,
n_y_bins=y_bin).run()
avg_gaussian = mc.results.average_gaussian
def test_analysis_mean_gaussian_wrap_xy(self, curvature_unwrapped_universe, dummy_surface):
avg_gaussian = curvature_unwrapped_universe.results.average_gaussian
expected_gaussian = gaussian_curvature(dummy_surface)
assert_almost_equal(avg_gaussian, expected_gaussian)

Expand Down

0 comments on commit 4aa405c

Please sign in to comment.