Computational tests using the moving window convolution analysis

Related documents

  1. Convolution analysis for detection purposes concerning the signal’s approximate derivative
  2. Convolution analysis for detection purposes concerning the signal’s zero-phase FIR filter result
  3. Convolution analysis for detection purposes concerning the signal’s Hilbert envelope
  4. Convolution analysis for detection purposes concerning the signal’s matched-filter result
  5. Convolution analysis for detection purposes concerning a signal and it’s time-delayed version
  6. Convolution analysis for detection purposes concerning the signal’s moving-window signal-to-noise ratio

Abstract

To temporally localize a signal in a signal stream in noisy environments, it is necessary to identify a suitable transformation that suppresses the noise-floor and amplifies the signal sections. The test aims to determine which combination of input data leads to the highest amplitude ratio between the noise floor and the signal section. This ratio is here referred to as the separation ratio.

[!NOTE] The entire content of this record was conceived, implemented and tested by Jakob Harden using the scientific numerical programming language of GNU Octave 6.2.0 and TeXlive/TeXStudio.

Table of contents

License

Copyright 2024-2025 Jakob Harden (jakob.harden@tugraz.at, Graz University of Technology, Graz, Austria)

This file is part of the PhD thesis of Jakob Harden.

File licenses: - main directory (program root directory)
- *.m: GNU Affero General Public License version 3
- directory results/test_movcorr
- *.png, *.ofig: Creative Commons Attribution 4.0 International license
- directory scicol_crameri
- colormap_crameri.m: GNU Affero General Public License version 3
- all other files (*.mat, *.pdf, *.png): by Fabio Crameri et al., MIT license
- directory tools
- *.m: GNU Affero General Public License version 3

All README.md files are licensed under the Creative Commons Attribution 4.0 International license.

Prerequisites

To be able to use the scripts, GNU Octave 6.2.0 (or a higher version) need to to be installed. GNU Octave is available via the package management system on many Linux distributions. Windows users have to download the Windows version of GNU Octave and to install the software manually.

GNU Octave download

To compile the LaTeX documents in this repository a TeXlive installation is required. The TeXlive package is available via the package management system on many Linux distributions. Windows users have to download the Windows version of TeXlive and to install the software manually.

TeXlive download

[!TIP] TeXStudio is a convinient and powerful solution to edit TeX files!

Directory and file structure

GNU Octave script files (*.m) are written in the scientific programming language of GNU Octave 6.2.0. LaTeX files (*.tex) are written with compliance to TeXlive version 2020.20210202-3. Text files are generally encoded in UTF-8.

comptest_conv_octave/
├── results
│   └── test_movcorr
├── scicol_crameri
│   ├── *.mat
│   ├── *.pdf
│   ├── *.png
│   └── colormap_crameri.m
├── tools
│   ├── tool_det_movcorr_diff.m
│   ├── tool_det_movcorr_firp0.m
│   ├── tool_det_movcorr_henv.m
│   ├── tool_det_movcorr_mflt.m
│   ├── tool_det_movcorr_shift.m
│   ├── tool_det_movcorr_snr.m
│   ├── tool_gen_noise.m
│   ├── tool_moving_corr.m
│   ├── tool_moving_prop.m
│   ├── tool_scale_noise2snr.m
│   └── tool_scale_ramp_prepost.m
├── init.m
├── LICENSE
├── README.md
├── README.html
└── test_movcorr.m

Installation instructions

  1. Copy the program directory comptest_conv_octave to a location of your choice. e.g. /home/acme/science/comptest_conv_octave.
  2. Open GNU Octave.
  3. Make the program directory /home/acme/science/comptest_conv_octave the working directory.

Usage instructions

  1. Open GNU Octave.
  2. Initialize program.
  3. Run script files.

Initialize program (command line interface)

The init command initializes the program. The initialization must be run once before executing all the other functions. The command is adding the subdirectories included in the main program directory to the 'path' environment variable. Furthermore, init is loading additional GNU Octave packages required for the program execution.

    octave: >> init;

Execute function file (command line interface)

    octave: >> test_movcorr('pvar'); # run parameter variation (window length, Monte-Carlo test)
    octave: >> test_movcorr('stats'); # plot parameter variation stats
    octave: >> test_movcorr('ana'); # plot analysis example
    octave: >> test_movcorr('sig'); # plot signal example

[!NOTE] To reproduce the analysis results shown in the presentations referenced in section Related Publications, run all above-mentioned commands.

Help and Documentation

All function files contain an adequate function description and instructions on how to use the functions. The documentation can be displayed in the GNU Octave command line interface by entering the following command:

    octave: >> help function_file_name;

Related publications

Presentations

The presentations showing the analysis results and figures compiled with this program code are available in the Graz University of Technology repository.

LaTeX code

The LaTeX code used to compile the above-mentioned presentations is also available in the Graz University of Technology repository.

Scientific colour maps

The colours used in the illustrations are based on the scientific colour maps designed by Fabio Crameri et al. The colour map definitions and the related documentation are licensed under the MIT license and were made available online. Please find a copy of those colour maps in the scicol_crameri directory.

Revision and release history

2025-04-16, version 1.0.0