andersle.no#

logo

I'm an associate professor at the Department of Chemistry and Biomedical Science, NTNU, and on this page, I write about things that interest me (work-related and other personal projects). I like programming and visualizing data (especially in the context of chemistry), so many of the posts are focused on that!

Recent updates#

August 02, 2022 /

Calculating the pH in weak acids

Category: chemistry

I recently had to go over some details on pH-calculations in weak acids. How can we calculate the pH exactly (with concentrations) and when can we not rely on the "standard" solution method we learn in general chemistry? Let us find out.

Calculating the pH in weak acids
July 28, 2022 /

Predicting solubilities with molecular descriptors

Category: chemometrics

This is an example of using gradient boosting (CatBoost) for predicting solubilities of molecules using molecular descriptors from RDKit.

Predicting solubilities with molecular descriptors
July 21, 2022 /

Visualizing molecular orbitals

Category: chemistry

This is an example of how one can calculate molecular orbitals (with pyscf) and visualize them.

Visualizing molecular orbitals
July 21, 2022 /

Highlighting fingerprints with RDKit

Category: chemistry

RDKit can calculate molecular fingerprints and depict the active bits. Here is an example that extends the bit-drawing by RDKit to also show the full molecule.

Highlighting fingerprints with RDKit
July 18, 2022 /

Visualizing molecules with RDKit and py3Dmol

Category: chemistry

RDKit and py3Dmol are very useful for working with molecules. Here is a short example of how these libraries can be used to visualize the 3D structure of molecules.

Visualizing molecules with RDKit and py3Dmol

All posts →