Skip to content

Commit

Permalink
fix(background_models.py): added sigma parameter (hardcoded for now),…
Browse files Browse the repository at this point in the history
… need to rewrite config file to give more flexibility
  • Loading branch information
samanthalwong committed Nov 1, 2024
1 parent 3cd37f5 commit 3e6af25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gammapy_tools/make_background/background_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def background_rate(self):
rate = smooth(rate, sigma=self.smooth_sigma)
return rate

def smooth(bkg, method='poly'):
def smooth(bkg, method='poly',sigma=1):
"""Smooths background rates from BackgroundModelEstimator.background_rate (bkg input)
Expand Down

0 comments on commit 3e6af25

Please sign in to comment.