Pyfar

Latest version: v0.6.5

Safety actively analyzes 623626 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.6.5

------------------
* `Coordinates.show` now plots on equally scaled axis (PR 554)
* Update documentation to pydata theme (PR 560)
* Improve documentation (PR 544, 548, 549, 556)
* Add testing for Python 3.12 (PR 561)

0.6.4

------------------
* Bugfix in `pyfar.io.read_comsol_header`: Fix for reading expressions containing the characters '-', '[', and ']' (PR 535)
* Bugfix in `pyfar.dsp.fft.normalization`: Correct the normalization factor for the case `fft_norm=='psd'`. (PR 541)
* Maintenance: Remove tests for deprecated numpy functionality (PR 537)

0.6.3

------------------
* Bugfix in `pyfar.utils.concatenate_channels`: Amplitude of time domain Signals was wrong when concatenating in the frequency domain and concatenation failed for a mixture of Signals in the time and frequency domain (PR 532)

0.6.2

------------------
* Bugfix in `pyfar.Coordinates.find_within`: Fix for spherical distance measures and improved flexibility and documentation (PR 524)

0.6.1

------------------
* Bugfix in `pyfar.Coordinates.find_nearest`: Correct name of parameter 'spherical_radians' in docstring and fix computation of spherical distance between query points and actual points (PR 519)
* Improve `pyfar.signals.files.head_related_impulse_responses`: Use new structure of `pyfar.Coordinates` to find the requested head-related impulse responses (PR 520)

0.6.0

------------------
* Refactored `pyfar.Coordinates` class and module

* Added getter and setter for each pyfar coordinate, e.g., `pyfar.Coordinates.elevation` (PR 429)
* Added getter and setter for each pyfar coordinate system, e.g., `pyfar.Coordinates.cartesian` (PR 429)
* Added possibility to use an array of indices for `Coordinates.show` (PR 478)
* Deprecated getter and setter methods `get_cart`, `set_cart`, `get_sph`, `set_sph`, `get_cyl`, `set_cyl`. Those will be removed in pyfar 0.8.0 (PR 429)
* Deprecated the class property `Coordinates.sh_order`, which will be removed in pyfar 0.8.0 (PR 429) in favor of the `sampling_sphere` class from `spharpy v1.0.0 <https://spharpy.readthedocs.io/en/stable/>`_ (PR #429)
* Added new class methods `Coordinates.find_nearest` and `Coordinates.find_within` (PR 429)
* Deprecatex methods `Coordinates.find_nearest_k`, `Coordinates.find_slice`, `Coordinates.find_nearest_cart`, and `Coordinates.find_nearest_sph`. Will be removed in pyfar 0.8.0 (PR 478)
* Added `rad2deg` and `deg2rad` converter (PR 500)
* Coordinates angles are always returned in radians (PR 429)
* Coordinates are always stored in cartesian coordinates internally and converted upon request (PR 429)
* Changed type of return arguments in now deprecated `Coordinates.find_slice` (PR 386)

* pyfar audio classes (`pyfar.Signal`, `pyfar.TimeData`, `pyfar.FrequencyData`)

* Added the possibility to store spectra with a single frequency (PR 433)
* Empty comments, e.g., in `Signal.comment` are now set as an empty string not as 'none' (PR 379)
* Deprecated the possibility to call `len(Signal)` because it was not clearly described and redundant (PR 418)

* `pyfar.utils`

* Added functions to broadcast audio classes to a certain channel dimension or shape in `pf.utils.broadcast_cshape`, `pf.utils.broadcast_cshapes`, `pf.utils.broadcast_cdim`, `pf.utils.broadcast_cdims` (PR 385)

* `pyfar.dsp`

* Added `pyfar.dsp.concatenate` function for pyfar audio objects (PR 452)
* Added `pyfar.dsp.filter.notch` function (PR 441)
* Added the possibility to cast signals with different channel dimensions in `pyfar.dsp.convolve` (PR 404)
* Allowed NaN values in `pyfar.dsp.average` and `pyfar.dsp.normalize` (PR 425, 399)
* Added more verbose names for the `mode` parameter of `pyfar.dsp.pad_zeros` (PR 381)

* `pyfar.plot`

* Added the possibility to pass an empty dictionary as plot style to all pyfar plot function to use the currently active plot stlye in favor of the pyfar plot style (PR 446)
* Removed unwanted minor ticks that could appear if zooming into a logarithmic frequency axis (PR 450)

* `pyfar.io`

* Save the current pyfar version if using `pyfar.io.write` for providing more verbose feedback in case old data can not be read with newer versions of pyfar in the future (PR 445)
* Updated version of sofar package. `pyfar.io.read_sofa` now also works with path objects (PR 472)
* `pyfar.io.read_comsol` can now handle expressions containing the characters '*' '(' and ')' (PR 393)
* `pyfar.io.write_audio` does now accept sampling rates of type float, if they do not contain decimal values (PR 414)

* `pyfar.signals.files`

* Bugfix HRTFs are now returned in the requested order (PR 387)

* `pyfar.samplings`

* Deprecated pyfar samplings in pyfar 0.8.0. Samplings and are now available from `spharpy v1.0.0 <https://spharpy.readthedocs.io/en/stable/>`_ (PR #486)

* Documentation

* Show the plot shortcuts for interactive plotting (PR 422)
* Added documentation for missing `unit` parameter in `pyfar.dsp.fractional_time_shift` (PR 484)
* Corrected plot legend in the documentation of `pyfar.dsp.InterpolateSpectrum` (PR 457)
* Improved documentation for `pyfar.dsp.filter.GammatoneBands` (PR 372)
* Improved display of time axes in plots shown in the documentation (PR 423)
* Add links to pyfar.org, readthedocs, and github on pypi.org (PR 356)
* Improved documentation (PR 467, 458, 394, 498)

* CI, testing, and installation

* Added `PyfarDeprecationWarning` Class to make sure warnings are always shown (PR 419, 397)
* Made it possible to install and run pyfar in read only containers (PR 499)
* Removed `tox.ini` which is not needed anymore after moving to circle CI (PR 480)
* Updated testing guidelines (PR 407)
* Adapted tests to avoid warnings from third party packages (PR 477, 434, 388)
* Removed functions scheduled for deprecation in pyfar 0.6.0 (PR 476)
* Added testing for Python 3.11 (PR 471)
* Removed authors in favor of contributions shown on github (PR 413)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.