View full-text article in PMC Sensors (Basel). 2019 Jul 17;19(14):3154. doi: 10.3390/s19143154 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 TDSTFT Input: s(t) Output: c˜(t), TDSTFT 1: Initialize:c˜(t)=0; the largest number of iterations: n=1,00; convergence threshold ε. 2: Calculate: TDSTFT=∫−∞+∞g(u−t)s(u)e−iφ(t)ue−ic˜(t)(u−t)2/2du; Lt=length(s(t)); P=peak−searching(TDSTFT); I(t)=polyfit(P); I(t)=polyfit(P); I′(t)=diff(I(t)); 3: Iteration: for j=1:n; Ii(t)=I(t); c˜(t)=I′(t); TDSTFT=∫−∞+∞g(u−t)s(u)e−iφ(t)ue−ic˜(t)(u−t)2/2du; P=peak−searching(TDSTFT); I(t)=polyfit(P); I′(t)=diff(I(t)); ξ=1Lt∫0Lt|I(t)−Ii(t)|; if ξ<ε; breake; end end