Skip to content

Commit ee45c3f

Browse files
committed
Merge branch 'main' into main_cookiecutter
2 parents 494c00d + 5d2e9c8 commit ee45c3f

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

.circleci/config.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,12 @@ workflows:
142142
matrix:
143143
parameters:
144144
version:
145-
- "3.8"
146145
- "3.9"
147146
- "3.10"
148147
- "3.11"
149148
- "3.12"
150149
- "3.13"
151-
150+
152151
- ruff:
153152
matrix:
154153
parameters:
@@ -181,13 +180,12 @@ workflows:
181180
matrix:
182181
parameters:
183182
version:
184-
- "3.8"
185183
- "3.9"
186184
- "3.10"
187185
- "3.11"
188186
- "3.12"
189187
- "3.13"
190-
188+
191189
filters:
192190
branches:
193191
ignore: /.*/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Use pip to install pyrato
2323

2424
pip install pyrato
2525

26-
(Requires Python 3.8 or higher)
26+
(Requires Python 3.9 or higher)
2727

2828
If the installation fails, please check out the [help section](https://pyfar-gallery.readthedocs.io/en/latest/help).
2929

pyrato/rap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def reverberation_time_linear_regression(
1717
Energy decay curve. The time needs to be the arrays last dimension.
1818
times : ndarray, double
1919
Time vector corresponding to each sample of the EDC.
20-
T : 'T20', 'T30', 'T40', 'T50', 'T60', 'EDT', 'LDT'
20+
T : 'T15', 'T20', 'T30', 'T40', 'T50', 'T60', 'EDT', 'LDT'
2121
Decay interval to be used for the reverberation time extrapolation. EDT
2222
corresponds to the early decay time extrapolated from the interval
2323
``[0, -10]`` dB, LDT corresponds to the late decay time extrapolated
@@ -65,7 +65,7 @@ def reverberation_time_linear_regression(
6565
... array([0.99526253])
6666
6767
"""
68-
intervals = [20, 30, 40, 50, 60]
68+
intervals = [15, 20, 30, 40, 50, 60]
6969

7070
if T == 'EDT':
7171
upper = -0.1

tests/test_rt.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
@pytest.mark.parametrize(
16-
'tx', ['T20', 'T30', 'T40', 'T50', 'T60', 'LDT', 'EDT'])
16+
'tx', ['T15', 'T20', 'T30', 'T40', 'T50', 'T60', 'LDT', 'EDT'])
1717
def test_rt_from_edc(tx):
1818
times = np.linspace(0, 1.5, 2**9)
1919
m = -60
@@ -25,7 +25,7 @@ def test_rt_from_edc(tx):
2525

2626

2727
@pytest.mark.parametrize(
28-
'tx', ['T20', 'T30', 'T40', 'T50', 'T60', 'LDT', 'EDT'])
28+
'tx', ['T15', 'T20', 'T30', 'T40', 'T50', 'T60', 'LDT', 'EDT'])
2929
def test_rt_from_edc_mulitchannel(tx):
3030
times = np.linspace(0, 1.5, 2**9)
3131
Ts = np.array([1, 2, 1.5])
@@ -38,7 +38,7 @@ def test_rt_from_edc_mulitchannel(tx):
3838

3939

4040
@pytest.mark.parametrize(
41-
'tx', ['T20', 'T30', 'T40', 'T50', 'T60', 'LDT', 'EDT'])
41+
'tx', ['T15', 'T20', 'T30', 'T40', 'T50', 'T60', 'LDT', 'EDT'])
4242
def test_rt_from_edc_mulitchannel_amplitude(tx):
4343
times = np.linspace(0, 5/2, 2**9)
4444
Ts = np.array([[1, 2, 1.5], [3, 4, 5]])

0 commit comments

Comments
 (0)