Code by Ben Richardson (2013) as part of a Part III Astrophysics project. predict the radial velocity accuracy of a Sandage-Loeb campaign on emission