This code is intended primarily for reproducibility of results of J. Darde, N. Hyvönen, T. Kuutela and T. Valkonen - Electrodeless Electrode Model for Electrical Impedance Tomography.

The code has been tested with Matlab 2020b on Linux Fedora 33 and Matlab 2020b on Windows 10 Professional.

DEPENDENCIES

INSTRUCTIONS

To reproduce our figures and tables, run generate_figures.m. Several figure windows are left open once the script is finished, and some image files are saved in the pics folder. The resulting figures should be equivalent to the figures in our publication. However, there are slight differences in floating point computations between MSVC and GCC compiled C++ components. Furthermore, minor deviations are expected as reproducible plotting on different hardware is remarkably difficult with Matlab.

After running generate_figures.m, you may also run useful_prints.m which prints Latex arrays for the measures used in the publication.

The Algorithm 1 in our article is mostly implemented in paper/EIT_minimization.m and paper/Generate_data_*_tank.m. These are largely undocumented beyond the descriptions in our article, but some notes are included.

ACKNOWLEDGEMENTS

Significant parts of the finite element system matrix construction and the mesh structure handling are based on work by Antti Hannukainen (Aalto University).

NOTES & KNOWN WARTS

This is research code and therefore provided AS IS for verification of our numerical results. There are several messy parts which will not be fixed. The computations use rather significant global state as this has been found useful for debugging and injecting modifications during experimentation. However, it certainly doesn’t ease the understanding of the code. Also note that this repository is a pruned version of a larger, unreleased, code base. Therefore there may be references to parts which are not available.

The following notes may help in understanding what is going on:

LICENSE

The Matlab code (including C++ components) is licensed under CC-BY-4.0.

Copyright © 2020-2021 Topi Kuutela, Antti Hannukainen