Any2HRTF/Mesh2HRTF

Output2HRTF/Matlab: read frequency vector from Info.txt rather than fe.out files

Closed this issue · 3 comments

In a recent NumCalc update, frequencies will not be written in the NumCalc/source_N/fe(*).out director[y/ies]. Thus, the frequency vector should be read from Info.txt

@f-brinkmann @schaastrommla in order to avoid numerical errors (Matlab using double precision, and Info.txt showing only 6 decimal places), should we read the frequency vector entries from NC.inp?

I also thought about this but went for the quick solution. Using NC.inp would indeed be more accurate at least in some cases!

I realised that the information would be in the NC*.out file(s), and even then be rounded to 2 decimal places. Went also for your solution approach in the Python API!

Have now implemented where the frequencies are read, and still have to delete the lines that try to read frequencies from the fe.out file structure.