Welcome to my personal website

Hi, my name is Henrik Finsberg and this is my personal website. I am a applied mathematician who works as a researcher within the field of computational physiology.


  • 01.01.21 I am promoted to Senior Research Engineer
  • I am attending the 21st Geilo Winterschool about explainable machine learning algorithms.
  • I am invited to give a talk on NorHeart seminar February 8th 2021 about modeling myocardial stiffness.


Allocating memory for integers in python

Posted on December 27, 2020 in python • Tagged with python

Python differs from many other programming languages in the way it represents integers. Basically everything in python is a object and and integers are no different. This naturally has some pros and cons. While you need to be careful when working with large integers in other programming langues you can …

Continue reading

Cardiac modeling

Posted on October 05, 2018 in Cardiac modeling • Tagged with modeling, cardiac

How can we model the heart?

Continue reading

Running matlab from python

Posted on October 04, 2018 in python • Tagged with python, matlab

Tutorial on how to compile your matlab program into a python module and import it into your python project.

Continue reading

Setters and getters in python

Posted on October 01, 2018 in python • Tagged with python

Often when you want to assign some variable within a class you want to check or do something before you assign a value to that variable. In most programming languages a common design pattern of getting or setting a variable on an object is to implement so called set and …

Continue reading