View full-text article in PMC Sensors (Basel). 2019 Mar 5;19(5):1119. doi: 10.3390/s19051119 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 Frequency-domain airflow modeling (f-AFM). Require: θ,ζ 1:forℓ=0 to n do 2: C(ℓ)=∑j=1nsinΔ(θj,μθ)·sinΔ(θℓj,μℓ)∑j=1nsin2Δ(θj,μθ)·∑j=1nsin2Δ(θℓj,μℓ) 3: end for 4: [A,F]=FFT(C) 5: Fo=[] 6: for all f∈F do 7: p(O|f)=1−N(f|μA,σA) 8: if p(O|f)>ζ then 9: Fo=Fo∪f 10: end if 11: end for 12: σs=1.06σo(no)(−1/5) 13: [fl,fh]=MSA(Fo,σs) 14: return fl,fh