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.
Code for calculating event rates and likelihoods for Dark Matter direct detection experiments in the presence of Earth-Scattering. Released in conjunction with arXiv:2004.01621.
Code for evolving a Dark Matter minispike under the influence of a perturbing body, injecting energy through dynamical friction. Released in conjunction with arXiv:2002.12811.
Collected constraints on primordial black holes (PBHs) and python code for plotting them.
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.
Python code for calculating signals (Dark Matter, neutrinos) and backgrounds (neutrinos, radioactive backgrounds) in paleo-detectors. Released in conjunction with arXiv:1811.10549.
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.
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.
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.
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.
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 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.