Skip to content

Commit

Permalink
Merge pull request #17 from hakostra/hakostra/remove-sharpness-print
Browse files Browse the repository at this point in the history
Removed print-statements from sharpness computation
  • Loading branch information
mglesser authored Sep 2, 2021
2 parents 116f3f5 + 0ad4b00 commit 2d2ae8e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion mosqito/functions/sharpness/sharpness_aures.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def comp_sharpness_aures(N, N_specific, is_stationary):
gA = np.zeros((z.size))
gA = 0.078 * (np.exp(0.171 * z) / z) * (N / np.log(N * 0.05 + 1))
S = 0.11 * sum(N_specific * gA * z * 0.1) / N
print("Aures sharpness:", "%.2f" % S, "acum")
else:
S = np.zeros((N.size))
gA = np.zeros((z.size, N.size))
Expand Down
1 change: 0 additions & 1 deletion mosqito/functions/sharpness/sharpness_bismarck.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def comp_sharpness_bismarck(N, N_specific, is_stationary):
S = 0
else:
S = 0.11 * sum(N_specific * gB * z * 0.1) / N
print("Bismarck sharpness:", "%.2f" % S, "acum")
else:
S = np.zeros((N.size))
for t in range(N.size):
Expand Down
1 change: 0 additions & 1 deletion mosqito/functions/sharpness/sharpness_din.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def comp_sharpness_din(N, N_specific, is_stationary):
S = 0
else:
S = 0.11 * sum(N_specific * gDIN * z * 0.1) / N
print("DIN sharpness:", "%.2f" % S, "acum")
else:
S = np.zeros((N.size))
for t in range(N.size):
Expand Down
1 change: 0 additions & 1 deletion mosqito/functions/sharpness/sharpness_fastl.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ def comp_sharpness_fastl(N, N_specific, is_stationary):
S = 0
else:
S = 0.11 * sum(N_specific * gZF * z * 0.1) / N
print("Fastl sharpness:", "%.2f" % S, "acum")
else:
S = np.zeros((N.size))
for t in range(N.size):
Expand Down

0 comments on commit 2d2ae8e

Please sign in to comment.