odas icon indicating copy to clipboard operation
odas copied to clipboard

The definition of uniform distribution is different between the paper and code

Open maoxin7676 opened this issue 1 year ago • 1 comments

  • The eq (70 ) in "Lightweight and Optimized Sound Source Localization and Tracking Methods for Open and Closed Microphone Array Configurations" caculates the uniform distribution p = K_hat/(4piK) , where K_hat denotes the number of points scanned, and K the total number of points needed to discretize the entire sphere。
  • The line 153 in mod_sst.c is diffuse_cst = 1.0f / (4.0f * M_PI * ((float) nPointsActive) / ((float) spatialindexes->nPoints)), the value of diffuse_cst is large than 1, i think it should be diffuse_cst = (((float)nPointsActive) / (4.0f * M_PI * (float)spatialindexes->nPoints));
  • Please help confirm whether the above description is correct

maoxin7676 avatar Jan 13 '23 02:01 maoxin7676