commit af203f25a439bda706f12bec4bd16b398d9d2845 parent 6daa5c0de40b290513b96cf5823012def5748b50 Author: paulnasca <paulnasca> Date: Thu, 22 Sep 2005 18:12:02 +0000 *** empty log message *** Diffstat:
M | src/Params/PADnoteParameters.C | | | 11 | ----------- |
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/Params/PADnoteParameters.C b/src/Params/PADnoteParameters.C @@ -387,17 +387,6 @@ void PADnoteParameters::generatespectrum_bandwidthMode(REALTYPE *spectrum, int s spectrum[spfreq]+=amp*profile[i]*rap*(1.0-fspfreq); spectrum[spfreq+1]+=amp*profile[i]*rap*fspfreq; }; -/* REALTYPE rap=sqrt((REALTYPE)ibw/(REALTYPE)profilesize); - REALTYPE ibasefreq=realfreq/(SAMPLE_RATE*0.5)*size; - for (int i=0;i<profilesize;i++){ - REALTYPE idfreq=i/(REALTYPE)profilesize-0.5; - idfreq*=ibw; - int spfreq=(int) (idfreq+ibasefreq); - if (spfreq<=0) continue; - if (spfreq>=size) break; - spectrum[spfreq]+=amp*profile[i]*rap; - }; -*/ }; }; };