MCMC luminosity calibration exercise for GREAT AstroStats-II school June 2013 Python code for the exercise on Bayesian luminosity calibration as part of the lectures by B. Holl. Required python packages numpy scipy matplotlib PyMC emcee acor PyTables Instructions See the Instructions.pdf file.