Skip to content

Commit

Permalink
* tiny cleanup of spectroscopy preprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Buhler committed Sep 2, 2024
1 parent 07b4c41 commit 7f36418
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions py/fastspecfit/continuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ def __init__(self, data, templates, phot, igm, ebv_guess=0.05,
self.wavelen = np.sum([len(w) for w in self.data['wave']])

# get preprocessing data to accelerate resampling
rspre = []
for wave in self.data['wave']:
rspre.append(trapz_rebin_pre(wave))
rspre = [ trapz_rebin_pre(w) for w in self.data['wave'] ]
self.spec_pre = tuple(rspre)


Expand Down

0 comments on commit 7f36418

Please sign in to comment.