Skip to content

Commit

Permalink
FIX: remove stale peak ph-rate attrs in Data returned from and-gate b…
Browse files Browse the repository at this point in the history
…urst search
  • Loading branch information
tritemio committed May 3, 2017
1 parent 72510c1 commit 64fe80e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fretbursts/burstlib_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ def join_data(d_list, gap=0):

return new_d


def burst_search_and_gate(dx, F=6, m=10, min_rate_cps=None, c=-1,
ph_sel1=Ph_sel(Dex='DAem'),
ph_sel2=Ph_sel(Aex='Aem'), compact=False, mute=False):
Expand Down Expand Up @@ -814,6 +815,7 @@ def burst_search_and_gate(dx, F=6, m=10, min_rate_cps=None, c=-1,
dx_d = dx.copy(mute=mute)
dx_a = dx.copy(mute=mute)
dx_and = dx.copy(mute=mute)
dx_and.delete_burst_data()

dx_d.burst_search(L=m, m=m, F=F, min_rate_cps=min_rate_cps, c=c,
ph_sel=ph_sel1, compact=compact, computefret=False,
Expand Down

0 comments on commit 64fe80e

Please sign in to comment.