COMPUTER CODES RELATED TO Lopez-Garcia M, Kypraios T (2018) A unified stochastic modelling framework for the spread of nosocomial infections. Journal of the Royal Society Interface 20180060. DOI:10.1098/rsif.2018.0060 Author: Martin Lopez-Garcia (Department of Applied Mathematics, School of Mathematics, University of Leeds, Leeds LS2 9JT, UK) Date: 30 May 2018 Correspondence for questions: m.lopezgarcia@leeds.ac.uk These computer codes can be used to reproduce all the results in Section 3 in "Lopez-Garcia M, Kypraios T (2018) A unified stochastic modelling framework for the spread of nosocomial infections. Journal of the Royal Society Interface, DOI:10.1098/rsif.2018.0060". Programming Language: Python Python version used: Python 2.6.6 Operative system: Linux, CentOS 6.9