Erik Fröjdh

Science, computing and ideas

  • Home
  • Publications
  • About
  • Interfacing Python/numpy from C++ (Part 1/3)

    Sometimes there is a need to interface Python and numpy from C++. Maybe your Python code is too slow for a specific application or you have an old C++ library that you want to run on your data.  In this three part series we will look at how to go from Python to C++ and […]
  • Visualise the population of Switzerland using Python and bokeh

    As some sort of simple introduction to displaying data on a map we can visualize the population of Switzerland. For this we need data on population per canton and the map to plot the data on. Fortunatley both are freely available.
  • Fit data using PyROOT… and plot the result using matplotlib

    ROOT is a powerful tool for data processing but the learning curve can be quite steep. Python on the other hand is in general easy to use but specially function fitting is less developed. Using a combination of ROOT trough PyROOT and Python with matplotlib and seaborn we can try to get the best of […]

Interfacing Python/numpy from C++ (Part 1/3)

22 September, 201822 September, 2018 Erik Fröjdh Leave a comment Python

Sometimes there is a need to interface Python and numpy from C++. Maybe your Python code is too slow for a specific application or you have an old C++ library that you want to run on your data.  In this three part series we will look at how to go from Python to C++ and […]

Continue reading


Visualise the population of Switzerland using Python and bokeh

12 December, 201712 December, 2017 Erik Fröjdh 1 Comment Python

As some sort of simple introduction to displaying data on a map we can visualize the population of Switzerland. For this we need data on population per canton and the map to plot the data on. Fortunatley both are freely available.

Continue reading


Fit data using PyROOT… and plot the result using matplotlib

18 August, 201712 December, 2017 Erik Fröjdh Leave a comment Python

ROOT is a powerful tool for data processing but the learning curve can be quite steep. Python on the other hand is in general easy to use but specially function fitting is less developed. Using a combination of ROOT trough PyROOT and Python with matplotlib and seaborn we can try to get the best of […]

Continue reading


Academic starter-kit

1 July, 2015 Erik Fröjdh Leave a comment Academic

Data analysis Having dabbled with everything from Excel to Matlab I settled on using Python for the main part of the data analysis that I do. This includes everything from curve fitting to processing some tens of GB of data from hybrid pixel detectors. With a large user base lots of open source tools it is […]

Continue reading


How to include a publication list in WordPress

25 June, 2015 Erik Fröjdh Leave a comment Website

Having the need to reproduce a list of my publications on various locations (CV, website, applications etc.) it quickly becomes unreasonable time consuming to maintain a hand coded list. Using bibtex to handle references for my articles and CV it makes sense to use it as a base for the webpage as well. 1. Get your […]

Continue reading


  • Popular
  • Recent
  • Academic starter-kit Jul 1, 2015
  • Fit data using PyROOT… and plot the result using matplotlib Aug 18, 2017
  • How to include a publication list in WordPress Jun 25, 2015
  • Visualise the population of Switzerland using Python and bokeh Dec 12, 2017
  • Interfacing Python/numpy from C++ (Part 1/3) Sep 22, 2018
  • Interfacing Python/numpy from C++ (Part 1/3) Sep 22, 2018
  • Visualise the population of Switzerland using Python and bokeh Dec 12, 2017
  • Fit data using PyROOT… and plot the result using matplotlib Aug 18, 2017
  • Academic starter-kit Jul 1, 2015
  • How to include a publication list in WordPress Jun 25, 2015
  • Ignatios Chatzidiamantis on Visualise the population of Switzerland using Python and bokeh

    Thank you very much for sharing. After a lot of searching, (...)

Topics

  • Academic
  • Python
  • Website
dazzling Theme by Colorlib Powered by WordPress