Skip to content

Commit

Permalink
Fixes default value of parameter of RT60 measuring function
Browse files Browse the repository at this point in the history
  • Loading branch information
fakufaku committed Aug 5, 2024
1 parent 885fbc9 commit 7538a65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ adheres to `Semantic Versioning <http://semver.org/spec/v2.0.0.html>`_.
`Unreleased`_
-------------

Nothing yet.
Bugfix
~~~~~~

- Fixes the default value of `energy_thres` in `experimental.rt60` to match the
previous behavior of the function (issue #358)

`0.7.5`_ - 2024-06-18
---------------------
Expand Down
2 changes: 1 addition & 1 deletion pyroomacoustics/experimental/rt60.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import numpy as np


def measure_rt60(h, fs=1, decay_db=60, energy_thres=0.95, plot=False, rt60_tgt=None):
def measure_rt60(h, fs=1, decay_db=60, energy_thres=1.0, plot=False, rt60_tgt=None):
"""
Analyze the RT60 of an impulse response. Optionaly plots some useful information.
Expand Down

0 comments on commit 7538a65

Please sign in to comment.