Skip to content

Commit

Permalink
Fix label of size selection for th2 > 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
tritemio committed Dec 8, 2017
1 parent 8505279 commit 92a7aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fretbursts/select_bursts.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def size(d, ich=0, th1=20, th2=np.inf, add_naa=False, gamma=1., beta=1.,
th2 = th2[ich]
bursts_mask = (burst_size >= th1) * (burst_size <= th2)
s = "size_th%d" % th1
if th2 < 1000:
if th2 < np.inf:
s += "_th2_%d" % th2
return bursts_mask, s + str_G(gamma, donor_ref)

Expand Down

0 comments on commit 92a7aa1

Please sign in to comment.