Skip to content

Commit 5c11de5

Browse files
committed
Removed unnecessary __init__.py files and modified count_bonds.py
1 parent 9acb5e3 commit 5c11de5

File tree

4 files changed

+876
-544
lines changed

4 files changed

+876
-544
lines changed

image_analysis/image_analysis.ipynb

Lines changed: 875 additions & 544 deletions
Large diffs are not rendered by default.

image_analysis/utils/__init__.py

Whitespace-only changes.

image_analysis/utils/count_bonds.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def _count_bonds(self, image):
4545
image = image.reshape(self._Lx, self._Ly)
4646
except ValueError:
4747
raise "Unable to properly reshape image."
48+
#Nb = np.sum(image)
4849
bond_idxs = [(i, j) for i in range(self._Lx) for j in range(self._Ly)
4950
if (i + j) % 2 == 1]
5051
Nb = np.sum([image[i] for i in bond_idxs])

worm_algorithm/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)