Skip to content

Commit bca147b

Browse files
committed
reword
1 parent e4db672 commit bca147b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bubbles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def bubbles_mask_nonzero (im, ref_im=None, sigma = np.repeat(25, repeats=5), bg=
240240
# get mu locations for each bubble, as an index in the possible mu values
241241
mu_idx = [np.random.randint(low=0, high=len(x[0]), size=1) for x in poss_mu]
242242

243-
# get actual mu values as index plus uniform noise between -0.5 and 0.5 (rather than all mus being on integers)
243+
# generate actual mu values as index plus uniform noise between -0.5 and 0.5 (rather than all mus being on integers)
244244
mu_y = [int(poss_mu[i][0][mu_idx[i]]) for i in range(len(poss_mu))] + np.random.uniform(low=-0.5, high=0.5, size=len(mu_idx))
245245
mu_x = [int(poss_mu[i][1][mu_idx[i]]) for i in range(len(poss_mu))] + np.random.uniform(low=-0.5, high=0.5, size=len(mu_idx))
246246

0 commit comments

Comments
 (0)