In the “language” of chemistry molecules can be schematically drawn by using letters and lines – the letters represent the chemical elements and the lines represent chemical bonds. In this picture a reaction can be simply described as a rearrangement of the letters and lines. However, reaction of organic compounds can be quite complex and […]
Read More →Pi day: Pi on the keyboard
On my computers I am using Windows, Linux, and sometimes MacOS. Regarding the keyboard layout, I prefer the US English layout – it is just so much better for programming, anything you do on the shell, or whatever. On my Windows Desktop, I have designed my own keyboard layout (using Microsoft Keyboard Layout Creator) that […]
Read More →Gmail statistics
On which days of the week do you send or receive emails? What time of the day? Well, let’s find out. I have been somewhat inspired by Stephen Wolfram and used some of the fabulous open-source libraries that are available for data exploration: I have been playing around with imaplib, pandas, seaborn/matplotlib and came up with a script to […]
Read More →Pythonic heart rate
Using python and the great matplotlib library, I have made a little app that measures the hart rate and computes various heart rate variability parameters (such as rMSSD, pNN50, LF, HF). On the hardware side, the pulse sensor connected to an Arduino Uno microcontroller is used. Parts of the code are based on other open source libraries. […]
Read More →Migrating Gmail
I wanted to migrate all my emails from one gmail account to another. Unfortunately, Google does not seem to offer an easy automated method. When I tried importing the mails from the other account via POP, my label system was not reproduced (I am an avid labeler). People suggest to use IMAP (where labels are […]
Read More →Heart rate variability
Heart Rate Variability (HRV) describes the variation in the time interval between heartbeats and it is often calculated based on RR intervals (i.e. the interval between two successive R-peaks in the ECG wave). HRV is relevant for clinical monitoring of patients, in psychophysiology, as well as in sports. There are several approaches to measure HRV “at home”, such as: […]
Read More →