Comments (5)
I have applied your proposed change from eps
to 0
for a pint source (L124) in the branch fix_ssd_selection
. If I run your example the output looks identical to me.
from sfs-matlab.
As I understood it this is the crucial part why this bug happens: "two secondary sources are exactly on this bound", correct?
I can reproduce the behavior for -eps
, do you know why this is working and can we somehow become independent of the sign?
from sfs-matlab.
I understood the eps
as the maximum value, which may be added or substracted to the true result of an arithmetic operation due to numerical noise, i.e. finite numerical resolution. Assuming the true value of the scalar product is 0, its calculated value might be between +eps
and -eps
. I guess choosing -eps
for comparison is the conversative approach, as all sources are selected, where the scalar product yields greater-equal -eps
. However, there might be a source, where the true is smaller than 0 and which are selected erroneously due to this selection criterion.
from sfs-matlab.
I think you are right and it is more conservative to use a negative value. I tested the same for ls
as source and added now -2*eps
as the criterium as for ls
-eps
was not enough.
from sfs-matlab.
Btw, for focused sources and plane wave there was no error with your loudspeaker array, so I didn't changed the selection criterium.
from sfs-matlab.
Related Issues (20)
- Incorporate SOFA convention GeneralFIRE HOT 1
- Combination of dummy_irs() and resampling of Matlab HOT 3
- Avoid `symmetric` parameter in `ifft()` HOT 6
- Unified 2.5D WFS Framework HOT 8
- Asymmetry of mono-frequent and time domain LSFS driving functions HOT 4
- Naming scheme for dimensions in function headers
- Is it possible to delay a source? HOT 4
- Voronoi-Interpolation for HRIRs HOT 2
- References in function headers HOT 5
- Update Frequency and Time Domain documentation
- Handling of automatic line coloring
- Relative Source position for SimpleFreeFieldHRIR in get_ir HOT 5
- Delayline section in SFS_config.m HOT 2
- Validation Script for conf struct
- Improvement of help messages HOT 1
- Implementation the code using the Julia programming language HOT 1
- Test interpolation methods fails under Octave HOT 6
- Implementation of active room compensation
- Implementation of Active Room Compensation methods, modelling reverberations using a simplified Image Source Metho HOT 2
- The zeros/roots of the spherical Hankel function of the second kind HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfs-matlab.