Recently I've also been learning how to do cosmological calculations using software called CosmoSIS. If you feed CosmoSIS some basic theoretical premises, it can predict the astronomical data that we should observe if the theory is correct.