Skip to content

Velocity substructure from Gaia and direct searches for dark matter

License

Notifications You must be signed in to change notification settings

cajohare/DarkShards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DarkShards

DOI arXiv MIT Licence

This repository contains the code, data and notebooks for (one hopes) reproducing the entirety of our recent paper "Dark Shards". There are also a few results and bits and pieces 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 complain about why something doesn't work.

Click here for the notebook that creates this movie

Contents

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/ - Notebooks and python files which spit out various plots and other results that can be found in the paper
  • plots/ - plots get put here in pdf and png formats.
  • movies/ - A few movies just for visualising the halo sample etc.

Requirements

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 orbits
  • scikit-learn, used in fitting the shards and doing kernel density estimates for action space variables
  • cmocean, nice aesthetic colormaps that don't just look like a unicorn's vomit
  • cartopy, used to make Mollweide skymaps
  • healpy, can't remember what this was used for but it's there

License

This project is licensed under the MIT License - see the LICENSE.md file for details


The Results

Each plot can be recreated in a fairly self-contained fashion. Here is each figure in the paper in order and links to a notebook to see how it was made.

Fig. 1

Click here for the notebook


Fig. 2

Click here for the notebook


Fig. 3

Click here for the notebook


Fig. 4

Click here for the notebook


Fig. 5

Click here for the notebook


Fig. 6

Click here for the notebook


Fig. 7

Click here for the notebook


Fig. 8

Click here for the notebook


Fig. 9

Click here for the notebook


Fig. 10

Click here for the notebook


Fig. 11

Click here for the notebook


Fig. 12

Click here for the notebook


Fig. 13

Click here for the notebook


Fig. 14

Click here for the notebook


Bonus plots

Comparing one-dimensional speed distributions of Shards stars with the full halo sample

Click here for the notebook


Comparisons of stellar halo and Shards

Click here for the notebook


Annual modulation harmonic analysis

Click here for the notebook (left)

Click here for the notebook (right)


About

Velocity substructure from Gaia and direct searches for dark matter

Resources

License

Stars

Watchers

Forks

Packages

No packages published