From 7e61d95a49b3d5383d990a733ca5028cd0902d71 Mon Sep 17 00:00:00 2001 From: Fabian Brinkmann Date: Mon, 3 Jun 2024 08:52:00 +0200 Subject: [PATCH 1/3] improve documentation --- mesh2hrtf/Output2HRTF/inspect_sofa_files.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/mesh2hrtf/Output2HRTF/inspect_sofa_files.py b/mesh2hrtf/Output2HRTF/inspect_sofa_files.py index d5de39d..9169483 100644 --- a/mesh2hrtf/Output2HRTF/inspect_sofa_files.py +++ b/mesh2hrtf/Output2HRTF/inspect_sofa_files.py @@ -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 ---------- @@ -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 From 9d9480442e708eff8fa5b986dfd7342e3c007ab2 Mon Sep 17 00:00:00 2001 From: Fabian Brinkmann Date: Mon, 1 Jul 2024 14:25:42 +0200 Subject: [PATCH 2/3] update GradingHybrid (Can now do purely distance based grading as well) --- mesh2hrtf/Mesh2Input/Meshes/GradingHybrid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesh2hrtf/Mesh2Input/Meshes/GradingHybrid b/mesh2hrtf/Mesh2Input/Meshes/GradingHybrid index b956987..c34689e 160000 --- a/mesh2hrtf/Mesh2Input/Meshes/GradingHybrid +++ b/mesh2hrtf/Mesh2Input/Meshes/GradingHybrid @@ -1 +1 @@ -Subproject commit b956987cda1cdd10ae1ea91daa8762b74c9a2ea4 +Subproject commit c34689e93a1263ae0932f50262fb15d95c9c1729 From 3facce7cfb89caef8415401c987f77259a6f7c6b Mon Sep 17 00:00:00 2001 From: Fabian Brinkmann Date: Mon, 1 Jul 2024 14:35:36 +0200 Subject: [PATCH 3/3] update for release v1.2.0 --- HISTORY.rst | 5 +++++ VERSION | 2 +- mesh2hrtf/Mesh2Input/mesh2input.py | 2 +- mesh2hrtf/__init__.py | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 87e8462..9b1d4fe 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -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) diff --git a/VERSION b/VERSION index 45a1b3f..26aaba0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.2 +1.2.0 diff --git a/mesh2hrtf/Mesh2Input/mesh2input.py b/mesh2hrtf/Mesh2Input/mesh2input.py index 32d8d73..217d24b 100644 --- a/mesh2hrtf/Mesh2Input/mesh2input.py +++ b/mesh2hrtf/Mesh2Input/mesh2input.py @@ -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", diff --git a/mesh2hrtf/__init__.py b/mesh2hrtf/__init__.py index 74f94ee..2bed9b6 100644 --- a/mesh2hrtf/__init__.py +++ b/mesh2hrtf/__init__.py @@ -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',