Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
68eabf6
add pyfar to requirements
mberz Apr 30, 2022
3e81bb6
move schroeder integration to edc.py
mberz Apr 30, 2022
7a7f818
support for pyfar signals in find_impulse_response_start
mberz Apr 30, 2022
4c71c25
pyfar.Signal support for maximum ir function
mberz Apr 30, 2022
a28367d
restructure tests
mberz Apr 30, 2022
262a1ba
time shift with pyfar support
mberz May 1, 2022
4dae84e
time shift cont. and tests
mberz May 1, 2022
3c97b8d
docstring updates time_shift
mberz May 1, 2022
e929de9
add sort and example to eigenfrequency calculation function
mberz May 1, 2022
162cc20
enhance docstrings for analytic model and use pyfar
mberz May 1, 2022
d5f107f
new schroeder integration function
mberz May 1, 2022
274d31a
adapt preprocess function
mberz May 2, 2022
fdde93a
internal smoothing function for lundeby algorithm
mberz May 2, 2022
9e6f67f
make noise subtraction function private
mberz May 2, 2022
3f82c3d
move dsp functions into dsp module
mberz May 2, 2022
d002906
adapt tests to new dsp structure cont.
mberz May 2, 2022
7eefe97
chu's method adapted to pyfar
mberz May 2, 2022
63bc2fc
adapt lundeby intersection time calculation
mberz May 2, 2022
7cccdd6
adapt lundeby method to pyfar
mberz May 2, 2022
6d33a4d
pyfar adption: combined chu and lundeby methods
mberz May 2, 2022
5796123
adapt edc truncation to pyfar
mberz May 2, 2022
983e9fd
adapt reverberation time regression
mberz May 2, 2022
b619e7e
flake8
mberz May 2, 2022
e02faa5
update examples
mberz May 2, 2022
e22c45c
add libsndfile to readthedocs config
mberz May 2, 2022
f035a2f
remove filter bank, was moved to pyfar
mberz May 2, 2022
3c12698
cleanup
mberz May 2, 2022
0aca916
move analytic model
mberz May 2, 2022
ee9d7a7
move impedance based model to new file
mberz May 2, 2022
6a57e25
separate tests
mberz May 2, 2022
0ba292f
Merge branch 'main' into enhancement/pyfar
mberz Sep 6, 2022
f3f19b4
remove monkeypatches from time shift, currently not required
mberz Sep 6, 2022
1165de8
deprecation fixes
mberz Sep 6, 2022
29bf964
flake8 fixes
mberz Sep 6, 2022
374ee97
Merge pull request #7 from mberz/enhancement/pyfar
mberz Sep 7, 2022
e38d941
deprecation warnings for dsp functions
mberz Oct 5, 2022
3f5718d
rename to reverberation_time_linear_regression
mberz Oct 5, 2022
916e4d9
try to avoid merge conflicts with main
mberz Oct 5, 2022
04b1aa3
remove support for python 3.7
mberz Oct 5, 2022
a7c8187
remove 3.7 support from setup
mberz Oct 5, 2022
d6d0b24
fix typo
mberz Oct 5, 2022
c4a6212
remove unused import
mberz Oct 5, 2022
218a1eb
don't pass dtype to TimeData constructor
mberz Oct 5, 2022
85232a5
Merge pull request #11 from mberz/deprecations/dsp_warnings
mberz Oct 5, 2022
e700a5b
Merge branch 'develop' into refactor/linear_regression_rt
mberz Oct 5, 2022
a328b80
add deprecation warning
mberz Oct 5, 2022
6602cc6
Merge pull request #13 from mberz/refactor/linear_regression_rt
mberz Oct 5, 2022
60b4a1a
use array concatenation instead of passing nested lists to np.nanmax
mberz Oct 5, 2022
ac74c2f
Refactor channel indexing for dsp functions
mberz Oct 10, 2022
f5f384b
Use ndindex instead of reshaping the data in all edc calculation
mberz Oct 10, 2022
0f17169
use ndindex in rt calculation instead of reshaping the input data
mberz Oct 10, 2022
7905731
Merge pull request #16 from mberz/refactor/nd_channels
mberz Oct 10, 2022
93eaa2f
Merge branch 'main' into develop
mberz Oct 10, 2022
21ed472
internally use pyfar's start finding function, require pyfar>=0.5.0
mberz Oct 13, 2022
c456c92
let find_max_ir also only warn instead of raising an error
mberz Nov 7, 2022
679084f
add requirement python>=3.8 to setup.py
mberz Nov 7, 2022
4cd5ded
Contributing don't exclude recent versions
mberz Nov 7, 2022
aebb8e7
Merge branch 'develop' into deprecation/remove_37_support
mberz Nov 7, 2022
3a2e82d
Merge pull request #14 from mberz/deprecation/remove_37_support
mberz Nov 7, 2022
f79f327
Merge branch 'develop' into refactor/find_start_ir
mberz Nov 7, 2022
f5068dc
Merge pull request #17 from mberz/refactor/find_start_ir
mberz Nov 7, 2022
06753de
add edc truncation function for pyfar.TimeData
mberz Nov 9, 2022
82a4846
add thresholding to chu's method
mberz Nov 9, 2022
6993e6a
add function for PSNR estimation
mberz Nov 9, 2022
57bc100
remove output from example notebook which are affected by changes in the
mberz Nov 10, 2022
be23155
add test for psnr estimation
mberz Nov 10, 2022
e71b36e
Merge pull request #18 from mberz/feature/thresholded_edcs
mberz Nov 10, 2022
2d81e1d
Merge branch 'main' into develop
mberz Nov 10, 2022
f7c67ee
bugifx: channel-correct intersection sample truncation for lundeby edc
mberz Nov 14, 2022
f8fd63f
update test data
mberz Nov 14, 2022
d1cad9f
Read existing RIR from disk when generating test data to avoid
mberz Nov 14, 2022
6c5008c
explicit ch indexing
mberz Nov 14, 2022
82158b1
Merge pull request #19 from pyfar/bugfix/lundeby_truncation_sample
mberz Nov 30, 2023
2bc73e1
update readthedocs config to new format
mberz Dec 5, 2023
82981f9
apply new doc style + fix old links to mberz
ahms5 Mar 15, 2024
be07315
fix doc
ahms5 Mar 15, 2024
5f1e771
Merge pull request #21 from pyfar/docs/fix_rtd_config
mberz Mar 20, 2024
e52f4ba
Merge branch 'develop' into doc_gallery
mberz Mar 20, 2024
96f962e
update links and copyrights
mberz Mar 20, 2024
881d6e5
Merge pull request #22 from pyfar/doc_gallery
mberz Mar 20, 2024
176e3dc
add python 3.11 and 3.12 to testing
mberz Mar 20, 2024
2cc8e95
add supported versions to setup.py
mberz Mar 20, 2024
5da9f1c
update author information
mberz Mar 20, 2024
56d9008
Merge pull request #23 from pyfar/ci/new_versions
mberz Mar 20, 2024
505bad1
Merge pull request #24 from pyfar/author_info
mberz Mar 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,11 @@ workflows:
matrix:
parameters:
version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- flake:
matrix:
parameters:
Expand All @@ -156,10 +157,11 @@ workflows:
matrix:
parameters:
version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
filters:
branches:
ignore: /.*/
Expand Down
8 changes: 7 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
# Required
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.10"
apt_packages:
- libsndfile1

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
Expand All @@ -15,6 +22,5 @@ formats:

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: requirements_dev.txt
10 changes: 5 additions & 5 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Types of Contributions
Report Bugs
~~~~~~~~~~~

Report bugs at https://github.com/mberz/pyrato/issues.
Report bugs at https://github.com/pyfar/pyrato/issues.

If you are reporting a bug, please include:

Expand Down Expand Up @@ -45,7 +45,7 @@ articles, and such.
Submit Feedback
~~~~~~~~~~~~~~~

The best way to send feedback is to file an issue at https://github.com/mberz/pyrato/issues.
The best way to send feedback is to file an issue at https://github.com/pyfar/pyrato/issues.

If you are proposing a feature:

Expand All @@ -62,7 +62,7 @@ Ready to contribute? Here's how to set up `pyrato` for local development.
1. Fork the `pyrato` repo on GitHub.
2. Clone your fork locally::

$ git clone https://github.com/mberz/pyrato.git
$ git clone https://github.com/pyfar/pyrato.git

3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::

Expand Down Expand Up @@ -102,8 +102,8 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 3.5 to 3.9. Check
https://app.travis-ci.com/github/mberz/pyrato/pull_requests
3. The pull request should work for Python versions 3.8 or later. Check
https://app.travis-ci.com/github/pyfar/pyrato/pull_requests
and make sure that the tests pass for all supported Python versions.

Tips
Expand Down
3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2018, Marco Berzborn - Institute of Technical Acoustics
Copyright (c) 2021-2023, Marco Berzborn - Institute of Technical Acoustics
Copyright (c) 2023, The pyfar developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
20 changes: 10 additions & 10 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ pyrato
======
.. image:: https://badge.fury.io/py/pyrato.svg
:target: https://badge.fury.io/py/pyrato
.. image:: https://readthedocs.org/projects/pyrato/badge/?version=latest
:target: https://pyrato.readthedocs.io/en/latest/?badge=latest
.. image:: https://readthedocs.org/projects/pyrato/badge/?version=stable
:target: https://pyrato.readthedocs.io/en/stable/?badge=stable
:alt: Documentation Status
.. image:: https://circleci.com/gh/mberz/pyrato.svg?style=shield
:target: https://circleci.com/gh/mberz/pyrato
.. image:: https://circleci.com/gh/pyfar/pyrato.svg?style=shield
:target: https://circleci.com/gh/pyfar/pyrato
.. image:: https://mybinder.org/badge_logo.svg
:target: https://mybinder.org/v2/gh/mberz/pyrato/HEAD?filepath=examples%2Fenergy_decay_curves_and_reverberation_time.ipynb
:target: https://mybinder.org/v2/gh/pyfar/pyrato/HEAD?filepath=examples%2Fenergy_decay_curves_and_reverberation_time.ipynb

Python Room Acoustics Tools - A collection of functions for commonly used operations in room acoustics

Installation
Expand All @@ -22,7 +22,7 @@ Use pip to install pyrato

$ pip install pyrato

(Requires Python >= 3.5)
(Requires Python >= 3.8)


Getting Started
Expand All @@ -36,6 +36,6 @@ Contributing

Refer to the `contribution guidelines`_ for more information.

.. _contribution guidelines: https://github.com/mberz/pyrato/blob/main/CONTRIBUTING.rst
.. _examples notebook: https://mybinder.org/v2/gh/mberz/pyrato/HEAD?filepath=examples%2Fenergy_decay_curves_and_reverberation_time.ipynb
.. _read the docs: https://pyrato.readthedocs.io/en/latest
.. _contribution guidelines: https://github.com/pyfar/pyrato/blob/main/CONTRIBUTING.rst
.. _examples notebook: https://mybinder.org/v2/gh/pyfar/pyrato/HEAD?filepath=examples%2Fenergy_decay_curves_and_reverberation_time.ipynb
.. _read the docs: https://pyrato.readthedocs.io/en/stable
8 changes: 8 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

html[data-theme="light"] {
--pst-color-primary: #18609d; /* pyfar blue as primary color */
}

html[data-theme="dark"] {
--pst-color-primary: #18609d; /* pyfar blue as primary color */
}
Binary file added docs/_static/favicon.ico
Binary file not shown.
41 changes: 41 additions & 0 deletions docs/_templates/navbar-nav.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<div class="navbar-item">
<nav class="navbar-nav">
<ul class="bd-navbar-elements navbar-nav">

<li class="nav-item">
<a class="nav-link" href="https://pyfar-gallery.readthedocs.io">
Home
</a>
</li>

<li class="nav-item">
<a class="nav-link" href="https://pyfar-gallery.readthedocs.io/en/latest/examples_gallery.html">
Examples
</a>
</li>

<li class="nav-item">
<a class="nav-link" href="https://pyfar.readthedocs.io">
pyfar
</a>
</li>

<li class="nav-item">
<a class="nav-link" href="https://sofar.readthedocs.io">
sofar
</a>
</li>

<li class="nav-item">
<a class="nav-link" href="https://spharpy.readthedocs.io">
spharpy
</a>
</li>

<li class="nav-item">
<a class="nav-link" href="https://pyrato.readthedocs.io">
pyrato
</a>
</li>
</ul>
</nav></div>
Loading