The cardiovascular risk code simulates the number of cardiovascular events in a patient population based on estimated statistics for that population. It is a Python code written by Louise Coutts under the guidance of Francesco Shankar.
The RSG was brought in to refactor the code to make it easier for new users to work with, as well as optimise the performance of the code to allow for a larger parameter space to be studied. The run time was reduced from overnight to approximately a minute for the problem size of interest by updating the data input algorithm and by increasing the use of numpy vectorisation.
