Category Archives: Code

Correcting the record

Unless your imaging facility is in a clean room (and you never touch it), from time to time, we all end up with unsightly splotches on our transmitted light images. The best fix for this is to clean the microscope but sometimes you just have to do what you can with what you’ve got.

Thankfully there’s a fairly easy way to correct it post-acquisition. Let’s Flat-field correct!

Continue reading

Staying in (version) control

As part of my job, I find myself writing lots of bits of code for people. Until quite recently, my version control system was renaming the files and commenting in the header to keep track of changes.

Not the tidiest system

I say “quite recently” as I started using git as my version control system and have not looked back. I’m by no means an expert, but in this post, I’m going to give an introduction to using git in the context of scripting.

This post is really aimed at people who have no experience with version control systems or have heard about git but have never really used it (or have tried and failed to get the hang of it as I did…twice).

Continue reading