spectral notch / frequency notch
Closed this issue · 4 comments
Hello, I would like to extract the values of the frequency and magnitude for the lowest and highest peaks on the 2D HRTFs that I obtained with mesh2hrtf. Do you know how can I get them ?
Is there a complete table with the magnitude (in dB) computed for each frequency ?
Otherwise is it possible to print the 2D HRTFs for only one ear and not both on a single graph ?
Thank you !
Hi - the complete HRTFs and HRIR are contained in the SOFA files. In case you are using Python, you can read, process, and plot them with pyfar
I'm sorry but I don't understand how to use pyfar in order to get what I want ?
There is not a simple table, with all magnitudes referenced to their frequency, that is generated when I launch mange_NumCalc.py ? In this case, do you mean I can play with data by myself using a python code, that I must create with the pyfar library ?
You can find examples on how to work with pyfar on the hompage linked above. Another possibility would be to open the SOFA file in any NetCDF viewer. But that might be equally cumbersome.
Yes thank you, I read the different examples. But I don't find how to extract the coordinates (frequency and magnitudes) for each points of a 2D HRTF plot, generated with the mesh2hrtf algo...