Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from nico-franco-gomez/dev
Browse files Browse the repository at this point in the history
v0.4.0
nico-franco-gomez authored Aug 5, 2024
2 parents fb76d81 + 62ada03 commit d178fa7
Showing 49 changed files with 3,207 additions and 1,412 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -14,6 +14,37 @@ adheres to `Semantic Versioning <http://semver.org/spec/v2.0.0.html>`_.
- Validation for results from tests in every module (so far many tests are
only regarding functionality)

`0.4.0 <https://pypi.org/project/dsptoolbox/0.4.0>`_ -
---------------------
Added
~~~~~~
- `ImpulseResponse` as a subclass of `Signal`. It handles time windows, coherence
and plotting of those windows. Assertions for expected `ImpulseResponse` instead
of `Signal` were added as well
- new module ``tools`` for computations with primitive data types, added time
smoothing, interpolation of frequency response
- `get_transfer_function` in Filter and FilterBank
- analog-matched biquads in ``filterbanks``
- `gaussian_kernel` approximation in ``filterbanks``
- gain parameter functionality for some biquads
- new biquad types (lowpass and highpass first order, inverter)
- new explicit constructors for signal and filter
- pearson correlation as part quality estimator for latency computation
- new scaling parameter in synchrosqueezing of `cwt`
- new parameter in `window_frequency_dependent`

Bugfix
~~~~~~
- bugfix in `window_frequency_dependent` when querying a single frequency bin
- corrected plotting of spl when calibrated signal is passed

Misc
~~~~~~~
- got rid of signal type attribute. Use now `ImpulseResponse`
- general doc additions and fixes, type annotations
- `fractional_octave_smoothing` performance improved
- renamed some files of code base for consistency

`0.3.9 <https://pypi.org/project/dsptoolbox/0.3.9>`_ -
---------------------
Added
1 change: 1 addition & 0 deletions docs/modules.rst
Original file line number Diff line number Diff line change
@@ -17,3 +17,4 @@ The modules and functions of dsptoolbox are listed down below.
modules/dsptoolbox.standard_functions
modules/dsptoolbox.transfer_functions
modules/dsptoolbox.effects
modules/dsptoolbox.tools
7 changes: 7 additions & 0 deletions docs/modules/dsptoolbox.general_tools.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Tools (dsptoolbox.tools)
==============================

.. automodule:: dsptoolbox.tools
:members:
:undoc-members:
:show-inheritance:
10 changes: 5 additions & 5 deletions dsptoolbox/__init__.py
Original file line number Diff line number Diff line change
@@ -4,14 +4,12 @@
merge_filterbanks,
pad_trim,
fractional_delay,
fractional_octave_frequencies,
activity_detector,
fade,
normalize,
true_peak_level,
resample,
load_pkl_object,
erb_frequencies,
detrend,
rms,
CalibrationData,
@@ -22,6 +20,7 @@
Filter,
FilterBank,
Signal,
ImpulseResponse,
MultiBandSignal,
)
from . import transfer_functions
@@ -34,10 +33,12 @@
from . import audio_io
from . import beamforming
from . import effects
from . import tools

__all__ = [
# Basic classes
"Signal",
"ImpulseResponse",
"MultiBandSignal",
"Filter",
"FilterBank",
@@ -52,9 +53,7 @@
"normalize",
"fractional_delay",
"true_peak_level",
"erb_frequencies",
"load_pkl_object",
"fractional_octave_frequencies",
"detrend",
"rms",
"CalibrationData",
@@ -71,6 +70,7 @@
"audio_io",
"beamforming",
"effects",
"tools",
]

__version__ = "0.3.9"
__version__ = "0.4.0"
Loading

0 comments on commit d178fa7

Please sign in to comment.