-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update of Asymmetric Well App (#223)
* Minor modifications in preparation for final review of asymmetric well notebook. * Revisions of asymmetric well notebook text. * seperate the images testing * update the model asymmetricwell image --------- Co-authored-by: Taylor-96 <[email protected]> Co-authored-by: Taylor <[email protected]>
- Loading branch information
1 parent
80cb2cb
commit 8e44765
Showing
5 changed files
with
39 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from PIL import Image, ImageChops, ImageStat | ||
|
||
image1 = Image.open('asymmetricwell.png') | ||
image2 = Image.open('test/asymmetricwell.png') | ||
|
||
diff = ImageChops.difference(image1, image2) | ||
stat = ImageStat.Stat(diff) | ||
|
||
if sum(stat.mean) == 0: | ||
print('images are the same') | ||
else: | ||
raise Exception("The result is NOT the same as expected. Please check matplotlib version.") |