Commit 729e749e authored by jonasstienen's avatar jonasstienen
Browse files

WIP pigeon project, improving calculation of transfer function and...

WIP pigeon project, improving calculation of transfer function and auralisation wavefront coefficients for automated simulation and modeling and auralisation, added missing class mods
parent fcfc60ee
......@@ -8,20 +8,22 @@ classdef itaPigeonProject
MaxDiffractionOrder = 1;
MaxReflectionOrder = 1;
MaxCombinedOrder = 2;
OnlyNeighbouredEdgeDiffraction = 'false';
DiffractionOnlyIntoShadowedEdges = 'false';
FilterNotVisiblePaths = 'true';
FilterNotVisiblePointToEdge = 'true';
OnlyNeighbouredEdgeDiffraction = false;
DiffractionOnlyIntoShadowedEdges = false;
FilterNotVisiblePaths = true;
FilterEmitterToEdgeIntersectedPaths = true;
FilterSensorToEdgeIntersectedPaths = true;
FilterNotVisiblePointToEdge = false;
IntersectionTestResolution = 0.001;
NumIterations = 10;
MaxAccumulatedDiffractionAngle = -6.2;
LevelDropThreshold = -131.0;
ReflectionPenalty = 0.97;
DiffractionPenalty = 2.5;
export_visualization = 'false';
export_visualization = false;
fixDirectPath = true;
......@@ -30,7 +32,7 @@ classdef itaPigeonProject
config_file_path = 'pigeon_project.ini';
run_quiet = false;
end
properties(Access = public, Hidden = true)
......@@ -61,10 +63,11 @@ classdef itaPigeonProject
%% public functions
methods(Access = public)
function paths = run( obj,source_pos, receiver_pos )
function paths = run( obj, source_pos, receiver_pos )
% generate Config file
obj.generate_config( source_pos, receiver_pos );
%obj.generate_config( source_pos, receiver_pos ); % old style
obj.export_config( source_pos, receiver_pos );
if obj.run_quiet
be_quiet = 'quiet';
......@@ -208,19 +211,6 @@ classdef itaPigeonProject
obj.FilterNotVisiblePointToEdge = input;
end
end
function obj = set.export_visualization(obj,input)
if islogical(input)
switch input
case true
obj.export_visualization = 'true';
case false
obj.export_visualization = 'false';
end
else
obj.export_visualization = input;
end
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment