Cargando…

Short-Time Fourier Transform Based on Metaprogramming and the Stockham Optimization Method

The extension for high-performance STFT (Short-Time Fourier Transform) algorithm written entirely in Java language for non-parallel computations is presented in the current paper. This solution could compete with the best available and most common algorithms supplied by libraries such as FFTW or JTr...

Descripción completa

Detalles Bibliográficos
Autores principales: Rybak, Grzegorz, Strzecha, Krzysztof
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8232722/
https://www.ncbi.nlm.nih.gov/pubmed/34203992
http://dx.doi.org/10.3390/s21124123
_version_ 1783713697961607168
author Rybak, Grzegorz
Strzecha, Krzysztof
author_facet Rybak, Grzegorz
Strzecha, Krzysztof
author_sort Rybak, Grzegorz
collection PubMed
description The extension for high-performance STFT (Short-Time Fourier Transform) algorithm written entirely in Java language for non-parallel computations is presented in the current paper. This solution could compete with the best available and most common algorithms supplied by libraries such as FFTW or JTransform. The main idea was to move complex computations and expensive functions to the program generation phase. Thus, only core and essential operations were executed during the runtime phase. Furthermore, new approach allows to eliminate the necessity for a rearrangement operation that uses the bit-reversal permutation technique. This article presents a brief description of the STFT solution that was worked out as an extension for the original application, in order to increase its efficiency. The solution remains a Stockham algorithm adapted using metaprogramming techniques and entails an additional reduction its execution time. Performance tests and experiments were conducted using a Java Platform and JMH library, which allowed for accurate execution time measurements. Major aspects of the Java VM like warm-up effects were also taken into consideration. Solution was applied into Electrical Capacitance Tomography measurement system in order to measure the material changes during the silo discharging industrial process.
format Online
Article
Text
id pubmed-8232722
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-82327222021-06-26 Short-Time Fourier Transform Based on Metaprogramming and the Stockham Optimization Method Rybak, Grzegorz Strzecha, Krzysztof Sensors (Basel) Article The extension for high-performance STFT (Short-Time Fourier Transform) algorithm written entirely in Java language for non-parallel computations is presented in the current paper. This solution could compete with the best available and most common algorithms supplied by libraries such as FFTW or JTransform. The main idea was to move complex computations and expensive functions to the program generation phase. Thus, only core and essential operations were executed during the runtime phase. Furthermore, new approach allows to eliminate the necessity for a rearrangement operation that uses the bit-reversal permutation technique. This article presents a brief description of the STFT solution that was worked out as an extension for the original application, in order to increase its efficiency. The solution remains a Stockham algorithm adapted using metaprogramming techniques and entails an additional reduction its execution time. Performance tests and experiments were conducted using a Java Platform and JMH library, which allowed for accurate execution time measurements. Major aspects of the Java VM like warm-up effects were also taken into consideration. Solution was applied into Electrical Capacitance Tomography measurement system in order to measure the material changes during the silo discharging industrial process. MDPI 2021-06-15 /pmc/articles/PMC8232722/ /pubmed/34203992 http://dx.doi.org/10.3390/s21124123 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/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 (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Rybak, Grzegorz
Strzecha, Krzysztof
Short-Time Fourier Transform Based on Metaprogramming and the Stockham Optimization Method
title Short-Time Fourier Transform Based on Metaprogramming and the Stockham Optimization Method
title_full Short-Time Fourier Transform Based on Metaprogramming and the Stockham Optimization Method
title_fullStr Short-Time Fourier Transform Based on Metaprogramming and the Stockham Optimization Method
title_full_unstemmed Short-Time Fourier Transform Based on Metaprogramming and the Stockham Optimization Method
title_short Short-Time Fourier Transform Based on Metaprogramming and the Stockham Optimization Method
title_sort short-time fourier transform based on metaprogramming and the stockham optimization method
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8232722/
https://www.ncbi.nlm.nih.gov/pubmed/34203992
http://dx.doi.org/10.3390/s21124123
work_keys_str_mv AT rybakgrzegorz shorttimefouriertransformbasedonmetaprogrammingandthestockhamoptimizationmethod
AT strzechakrzysztof shorttimefouriertransformbasedonmetaprogrammingandthestockhamoptimizationmethod