Theoretical Predictions for the Inner Dark Matter Distribution in the Milky Way Informed by Simulations
This repository contains code and resources to analyze and visualize results related to the calculations outlined in (Hussein et al 2025). The repository is organized into four main directories, each focusing on a specific aspect of the analysis. Below, you'll find a description of the directories, their purpose, and installation instructions for using this project.
This project requires Python 3.7 or later. To get started, follow these steps:
git clone https://github.com/abdelazizhussein/MW-Inner-DM-Profile
cd MW-Inner-DM-ProfileThe required Python packages are specified in setup.py. To install them, run:
pip install .This will automatically install the following packages:
astropynumpymatplotlibscipy
- Description: This directory contains the code and data necessary to reproduce our bracketed range of the Milky Way's dark matter density profile (grey band in Figure 2 of the paper).
- Description: Implements the calculations outlined in Appendix D of the paper.
- Description: Contains code to recreate a plot similar to Figure S-1 in the paper, which visualizes dark matter density profiles for the public simulation suites (Auriga, FIRE-2 and TNG-50).
-
Description: Provides the calculated J and D factors as functions of
$\theta$ .
Each directory contains example scripts. For detailed explanations of the methodology and code, refer to the comments in the scripts.
We kindly request that you cite our paper if you use any data or code from this repository in your work.