Skip to content

Commit

Permalink
Match what we do in the filterbank loader. We should consider the tsc…
Browse files Browse the repository at this point in the history
…runch factor too.
  • Loading branch information
fjankowsk committed Jun 20, 2024
1 parent 550fcf6 commit a98104b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scatfit/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,7 @@ def load_frb_data(filename, dm, fscrunch, tscrunch):
# dedisperse
cand.set_dm(dm)

dynspec = (
cand.scrunched_data(f=fscrunch, t=tscrunch, select="left") / fscrunch # **0.5
)
dynspec = cand.scrunched_data(f=fscrunch, t=tscrunch, select="left") / fscrunch**0.5
cand.dynspec = dynspec
times = np.arange(cand.nsamp // tscrunch) * cand.tsamp * tscrunch
cand.tval = times
Expand Down

0 comments on commit a98104b

Please sign in to comment.