Skip to content

Commit

Permalink
improvements to plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisk42 committed Nov 27, 2019
1 parent ca36f88 commit a3f04ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/analyzeDepth.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def loadCheckpoint(r):
domain, data = loadCheckpoint(r)
lesionResults[domain] = lesionResults.get(domain,[]) + data

for mode in ["MEAN","SIZE"]:
for mode in ["MEAN","SIZE","MAX"]:
# points and their colors
X = []
Y = []
Expand All @@ -99,6 +99,8 @@ def loadCheckpoint(r):
x = sum(d)/len(d)
elif mode == "SIZE":
x = sum(d_ > 1 for d_ in d)
elif mode == "MAX":
x = max(d)
else:
assert False
X.append(x)
Expand Down

0 comments on commit a3f04ee

Please sign in to comment.