Tool/software: Code Composer Studio
Hi,
There is a function called quadraticInterpLog2ShortPeakLoc which performs a quadractic peak interpolation to compute the fractional offset of the peak location, it is called as belows:
interpOffset = quadraticInterpLog2ShortPeakLoc(obj->cfarDetObjIndexBuf, obj->numDopplerBins, detIdx1, (CFARTHRESHOLD_N_BIT_FRAC + obj->log2numVirtAnt));
Here, obj->cfarDetObjIndexBuf is an doppler index array, is there any error in invking this function? Whether obj->sumAbs should supersede it? And should the detIdx1 be repalced by obj->cfarDetObjIndexBuf[detIdx1]?Is that right?
Thanks,
Regards,
Rata