Code

All of my publicly available code can be found on github: bradkav .

I try to make my code publicly available wherever possible, both to encourage transparency and to encourage others to make the most use of the work I’ve already done. You can find below a brief summary of the release-version codes which I (help to) maintain on github.

Note that some of the code available on github is still under development and marked [**Work in progress**]. Although I guess when it comes down to it, it’s all a work in progress.



WIMpy bradkav / WIMpy_NREFT

Python code for calculating Dark Matter direct detection rates in the framework of non-relativistic effective field theory (NREFT). This general code has been used in a number of works, but was officially released in conjunction with arXiv:1805.04117.

paleopy tedwards2412 / paleopy

Python code for calculating signals (Dark Matter, neutrinos) and backgrounds (neutrinos, radioactive backgrounds) in paleo-detectors. Released in conjunction with arXiv:1811.10549.

verne bradkav / verne

Python code for calculating the Earth-stopping effect for Dark Matter (DM). The code assumes straight-line trajectories and so is most accurate for super-heavy DM, but should also work for lighter particles. Released in conjunction with arXiv:1712.04901.

EarthShadow bradkav / EarthShadow

A tool for calculating the effects of Earth-scattering on the distribution of Dark Matter (DM) particles (and the resulting impact on direct detection rates). Includes (Mathematica) code, numerical results, plots and animations. Released in conjunction with arXiv:1611.05453.

runDM - bradkav / runDM

A tool (in Mathematica and Python) for calculating the running of the couplings of Dark Matter (DM) to the Standard Model (SM) in simplified models with vector mediators. Useful for exploring the complementarity between DM direct detection (low energy) and LHC searches (high energy). Released in conjunction with arXiv:1605.04917.

CEvNS bradkav / CEvNS

Code for calculating Coherent Elastic Neutrino-Nucleus Scattering (CEvNS) cross sections and recoil spectra. Also includes code for obtaining New Physics constraints from the COHERENT-2017 results. Released in conjunction with arXiv:1805.01798.

AntiparticleDM - bradkav / AntiparticleDM

Code for exploring the prospects for discriminating between Majorana and Dirac Dark Matter using future direct detection data. With this code the results and plots of arXiv:1706.07819 should be entirely reproducible.

DiphotonFits - bradkav / DiphotonFits

DiphotonFits is a collection of Python code (and a couple of data files) which allows you to perform fits to the (binned, digitised) ATLAS diphoton invariant mass spectrum, from the initial Run-II results (Dec 2015). Essentially a worked example in statistics, allowing you to reproduce the results of arXiv:1601.07330.