You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device returns only impedance magnitude in bis mode. It would be useful to also have the impedance phase.
It seems that CMSIS DSP library does not contain a function to calculate phase from complex values. ARM-software/CMSIS_5#293
It can be implemented via atan2 function with conversion to float (by @tachen-cs).
for (n = 0; n < numSamples; n++) {
pDst[n] = atan2(pSrc[(2n)+0] + pSrc[(2n)+1]);
}
The text was updated successfully, but these errors were encountered:
Device returns only impedance magnitude in bis mode. It would be useful to also have the impedance phase.
It seems that CMSIS DSP library does not contain a function to calculate phase from complex values. ARM-software/CMSIS_5#293
It can be implemented via atan2 function with conversion to float (by @tachen-cs).
The text was updated successfully, but these errors were encountered: