Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gbrammer/eazy-py
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrammer committed Jun 26, 2024
2 parents 08f064b + 42cdf07 commit a51dabc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eazy/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ def pivot(self):
"""
integrator = np.trapz

num = integrator(self.wave, self.wave*self.throughput)
den = integrator(self.wave, self.throughput/self.wave)
num = integrator(self.wave*self.throughput, self.wave)
den = integrator(self.throughput/self.wave, self.wave)
pivot = np.sqrt(num/den)
return pivot

Expand Down

0 comments on commit a51dabc

Please sign in to comment.