This repository contains the code, data and notebooks for (one hopes) reproducing the entirety of our recent paper "Impact of the ex-situ halo on searches for dark matter". There are also many results which did not make it in to final version but I've left in for potential future interest. In case you're interested in a particular plot see below for a list of various plots and the links to the specific notebook that makes it.
Please contact me at [email protected] if you want to winge about why something doesn't work.
The code, plots, datas, etc. are sorted as follows:
data/
- Contains the Gaia sample of halo stars as well as various cleaned samples of the same data and the extracted substructures and fits.code/
- contains various functions which are used by the notebooks to generate the results and plotsnotebooks/
- Notebooks which spit out various plots and other results that can be found in the paperplots/
- all plots get put here in pdf and png formats.movies/
- A few movies just for visualising the halo sample etc.
The code is all written in python3 and makes substantial use of the standard numpy, matplotlib, scipy etc. There are several additonal libraries that you may need to investigate depending on your installation:
astropy
, used for various things and also required by ...galpy
, used for computing stellar orbitsscikit-learn
, used in fitting the shards and doing kernel density estimates for action space variablescmocean
, nice aesthetic colormaps that don't just look like a unicorn's vomitcartopy
, used to make Mollweide skymapshealpy
, can't remember what this was used for but it's there
This project is licensed under the MIT License - see the LICENSE.md file for details
Here is each figure in the paper in order