Skip to content

Commit

Permalink
Remove debug diagnostic message
Browse files Browse the repository at this point in the history
  • Loading branch information
deeplycloudy committed May 17, 2015
1 parent 48a4a48 commit b58f0f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flash_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ def volumetric_length_from_points(x,y,z,D, b_s):
P_i = (S_i**D) / (b_s**(D-1.0)) #P_i
L_3 = (vol_len_scale**D) / (b_s**(D-1.0)) #L_3

length_weighted = (S_i / P_i) * L_3
# length_weighted = (S_i / P_i) * L_3
sum_weights = (S_i/P_i).sum()
print "The sum of the ratio S_i/P_i is not equal to one, but is {0}".format(sum_weights)
# print "The sum of the ratio S_i/P_i is not equal to one, but is {0}".format(sum_weights)

# Therefore, divide by the sum of the weights
length_weighted = (S_i / P_i) * L_3 / sum_weights
Expand Down

0 comments on commit b58f0f1

Please sign in to comment.