annotate branches/carfac_cpp/src/unit_conversion.cpp @ 682:10dc41e4d2f2

More small style revisions to C++ CARFAC, adjusted struct member variable naming, header guards and #include structure.
author alexbrandmeyer
date Wed, 29 May 2013 15:37:28 +0000
parents d59c0d65624b
children
rev   line source
Ulf@587 1 #include "unit_conversion.h"
Ulf@587 2
Ulf@587 3 float ERB_Hz(float cf_hz, float erb_break_freq, float erb_q){
Ulf@587 4 return (erb_break_freq + cf_hz) / erb_q;
Ulf@587 5 }