SAM MORRELL


ASTROPHYSICIST

Development

Dealing with Blank Lines Comments in Fortran READs

September 4, 2017

Just a quick little programming snippet today. When preparing data files, it’s often useful to include headers and comments in them, especially in the more complicated ones. Most data applications that you might be loading data into, such as maybe Python or MATLAB, have plenty of ability to filter out those comments, but what if...

Once Again, With More Soul

March 22, 2016

In my free time of late, I’ve been busy beavering away on my latest website. This one has taken a few weeks to perfect and hone but this is the brand new website for my band Soul Traders. This has been coming for a little while, and when you see the old site you’ll understand why. It’s...

Tackling Internal Server Errors When Using Jade-PHP

July 13, 2015

I’m currently taking a break from the glitz and glamour of astrophysics and instead am working on various development projects I promised I’d do for people. My main experience with web development in the past couple years has been using the excellent combo of Node.js + Express + Jade + Stylus. This combo is great...

My New Project – Axe Engine

October 25, 2013

Despite being deep into the 3rd year of both a physics degree and deep into a masters project, I’ve decided to try something quite ambitious. For ages, I’ve wanted to try my hand at writing a 3D game engine, and until now I’ve had neither the confidence or the knowledge to carry off such a...

Mini Javascript Hackathon – Tix Clock

July 31, 2013

I’ve spent a lot of time recently writing C++, Python and Shell Script. These languages are great, but I fancied taking a break from them to go back to my old stomping ground. Earlier today I remembered about the existence of a cool little, almost completely useless, piece of geek tech known as the Tix...

Gambling with Statistics – Monte Carlo Methods

July 20, 2013

Hey all! In my recent work I’ve been using numerical simulations involving radiative transfer, which basically  means transferring energy via radiation such as light; in the form of photon packets. The way these simulations are run is via a method known quite widely in the physics world called ‘Monte Carlo Methods’. It took me a...