Skip to content

Commit

Permalink
Merge branch 'minor_speed_up' into 'master'
Browse files Browse the repository at this point in the history
Minor speed up when generating power spectra for summaries

See merge request cwinpy/cwinpy!188
  • Loading branch information
mattpitkin committed Apr 15, 2024
2 parents 3cea0cf + 63cde82 commit 1f03558
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cwinpy/pe/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,9 @@ def generate_power_spectrum(
if isinstance(heterodyneddata[psr][ff][det], HeterodynedData):
het = heterodyneddata
else:
het = HeterodynedData.read(heterodyneddata[psr][ff][det])
het = HeterodynedData.read(
heterodyneddata[psr][ff][det], bbminlength=np.inf
)
else:
raise ValueError("data is not a HeterodynedData object/path")

Expand Down

0 comments on commit 1f03558

Please sign in to comment.