Skip to content

Commit

Permalink
PAX: fix hist_size when using add_aex
Browse files Browse the repository at this point in the history
  • Loading branch information
tritemio committed Jul 26, 2017
1 parent c0e258c commit 886855e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fretbursts/burst_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ def _get_sizes_and_formula(d, ich, gamma, beta, donor_ref, add_naa,
if donor_ref else '$\\gamma {FD} + {FA}$')
if 'PAX' in d.meas_type and add_aex:
sizes = d.burst_sizes_pax_ich(ich=ich, gamma=gamma,
add_aex=add_naa, aex_corr=aex_corr,
add_aex=add_aex, aex_corr=aex_corr,
beta=beta, donor_ref=donor_ref)
if not add_aex:
label = label.format(FD='n_d', FA='n_a')
Expand Down
3 changes: 2 additions & 1 deletion fretbursts/select_bursts.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def na(d, ich=0, th1=20, th2=np.inf):
def naa(d, ich=0, th1=20, th2=np.inf, gamma=1., beta=1., donor_ref=True):
"""Select bursts with (naa >= th1) and (naa <= th2).
The `naa` quantity can be optionally corrected using gamma and beta factors.
The `naa` quantity can be optionally corrected using gamma and beta
factors.
Arguments:
th1, th2 (floats): lower (`th1`) and upper (`th2`) bounds for
Expand Down

0 comments on commit 886855e

Please sign in to comment.