These python programs test the CuspCore model against the NIHAO cosmological zoom-in simulations, as presented in Freundlich et al. (2020a). This model (which is also summarized here) describes the response of a dissipationless spherical system to an instantaneous mass change at its centre. It is meant to describe the formation of flat cores in dark matter haloes and ultra-diffuse galaxies from feedback-driven outflow episodes. The python programs here also enable to fit the Dekel-Zhao profile on the simulated haloes, to test their Jeans equilibrium, and to plot the figures of the article.
The analysis is divided into different steps:
