Skip to content

Commit

Permalink
Merge pull request #137 from Any2HRTF/develop
Browse files Browse the repository at this point in the history
Release 1.2.0
  • Loading branch information
f-brinkmann authored Jul 1, 2024
2 parents 9ae2993 + 3facce7 commit 0ed80f3
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 9 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
History
=======

v1.2.0 (1 July 2024)
--------------------
* `hrtf_mesh_grading` from the folder mesh2hrtf/Mesh2Input/Meshes/GradingHybrid can now also do purely distance based mesh grading
* improve documentation

v1.1.2 (21 May 2024)
--------------------
* Fixed a bug when exporting a Mesh2HRTF Project from Blender that uses a plane wave as sound source (PR #108)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.2
1.2.0
2 changes: 1 addition & 1 deletion mesh2hrtf/Mesh2Input/mesh2input.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
bl_info = {
"name": "Mesh2HRTF export add-on",
"author": "The Mesh2HRTF developers",
"version": (1, 1, 2),
"version": (1, 2, 0),
"blender": (2, 80, 0),
"location": "File > Export",
"description": "Export Blender scene as Mesh2HRTF project",
Expand Down
16 changes: 11 additions & 5 deletions mesh2hrtf/Output2HRTF/inspect_sofa_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ def inspect_sofa_files(path, pattern=None, plot=None, plane="horizontal",
"""
Inspect SOFA files through plots.
Generate and save plots for horizontal plane HRIRs (time domain) and HRTFs
(frequency domain) for one or multiple SOFA files.
Generate and save plots from the sofa-files that are contained in the
Mesh2HRTF export subfolder `Output2HRTF` and contain the HRIRs and HRTFs at
the evaluation grid.
Note: If the sofa-files do not exist in your Project folder you have to
run ``NumCalc`` and :py:func:`~output2hrtf`. See the online
documentation for more information.
Parameters
----------
Expand All @@ -32,10 +37,11 @@ def inspect_sofa_files(path, pattern=None, plot=None, plane="horizontal",
``"2D"``
generate line plots of four sources on the horizontal plane
(front, back, left, right). The closest sources to the ideal
positoins are used for plotting.
positions are used for plotting.
``"3D"``
generate color coded plots of all sources on the horizontal
plane. See also parameter `atol` below.
generate color coded plots of all sources on the horizontal,
median, or frontal plane. See also parameter `plane` and `atol`
below.
The default ``None`` generate both plots.
plane : str, optional
Expand Down
2 changes: 1 addition & 1 deletion mesh2hrtf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
write_evaluation_grid
from .Mesh2Input.Materials.write_material import write_material

__version__ = '1.1.2'
__version__ = '1.2.0'

__all__ = [
'output2hrtf',
Expand Down

0 comments on commit 0ed80f3

Please sign in to comment.