Category Archives: Programming

Another Inhibition Pathway Diagram using TikZ

Here is another pathway diagram I needed to draw using TikZ. IN this case I needed an inhibited step. This was more tricky because I needed the inhibition line to point midway to a reaction but without touching the reaction … Continue reading

Posted in General Interest, LaTeX, Pathways, Programming, Publishing, Textbooks | Leave a comment

Drawing a Pathway Fragment with Inhibition using Tikz

Here is another quick pathway fragment I needed today. This won’t scale well because I’ve used some fixed dimensions eg the width of the lines and the size of the text. But these are easily adjusted if you want to … Continue reading

Posted in General Interest, LaTeX, Modeling, Pathways, Programming, Publishing | Leave a comment

Plotting 3D graphs using Python and Tellurium

As an example I wanted to show how one could plot a 3D phase plot. A great example to use for this is the Lorenz Attractor. This system is interesting because it displays chaotic behavior. The differential equations for the … Continue reading

Posted in General Science Interest, Math, Modeling, Pathways, Programming, Software | Leave a comment

How do I change the simulation tolerances in Tellurium?

For very complicated and large models it may be necessary to adjust the simulator tolerances in order to get the correct simulation results. Sometimes the simulator will terminate a simulation because it was unable to proceed due to numerical errors. … Continue reading

Posted in Modeling, Pathways, Programming, SBML, Software, Systems Theory | Leave a comment

How do I plot phase plots using Tellurium?

Phase plots are a common way to visualize the dynamics of models where time courses are generated and one variable is plotted against the other. For example consider the following model that can show oscillations:

In this model S2 … Continue reading

Posted in Modeling, Pathways, Programming, Software, Systems Theory | Leave a comment

How do I run a stochastic simulation using Tellurium/libRoadRunner?

In this post I will show you how to run a stochastic simulation using our Tellurium application. Tellurium is a set of libraries that can be used via Python. One of those libraries is libRoadRunner which is our very fast … Continue reading

Posted in Modeling, Pathways, Programming, SBML, Software | Leave a comment

Tikz Code for Drawing Metabolic Feedback Loops

I needed some figures that displayed a variety of different negative feedback loops so I created these using Tikz. Nothing particularly special. There are some absolute distances in the code which perhaps could be removed to make it more generic. … Continue reading

Posted in LaTeX, Modeling, Pathways, Programming, Publishing | Leave a comment

Z80 Microcomputer

Its been a while since I wrote something for this blog, mainly due to pressures of work. However its summer now and I’ve managed to carve out some time to do other work related projects. One thing I’ve done in … Continue reading

Posted in Electronics, General Science Interest, Programming | Leave a comment

Bode Plots using Python

I needed a quick way to plot some Bode plots for a second order system. I didn’t have access to Matlab, instead I searched for a solution using Python, and I found one. Documentation is a bit sparse  so this … Continue reading

Posted in General Science Interest, Modeling, Programming, Software, Systems Theory | 2 Comments

Programming Language Popularity

As programmers we sometimes like to play the game of what is the most popular programming language? There are various metrics online that try to measure this, most notably TIOBE, PYPL and Trendy Skills. They are all flawed in someway and often … Continue reading

Posted in Programming, Software | Leave a comment