PyUltraLight: A Pseudo-Spectral Solver for Ultralight Dark Matter Dynamics

Faber Edwards, Emily Kendall, Shaun Hotchkiss, Richard Easther
7/11/2018
astro-ph.CO

Official code: auckland-cosmo/PyUltraLight (18 stars, BSD-3-Clause, last commit 2025-05-28).

Abstract

PyUltraLight simulates the dynamics of ultralight dark matter in a non-expanding background. PyUltraLight can describe the evolution of several interacting ultralight dark matter halos or one or more halos orbiting a central, fixed Newtonian potential, the latter scenario corresponding to dwarf galaxies orbiting a massive central galaxy. We verify PyUltraLight by showing that it reproduces qualitative dynamical features of previously published simulations and demonstrate that it has excellent energy-conservation properties. PyUltraLight is implemented in a Python-based Jupyter notebook, solving the Schrodinger-Poisson equation governing ultralight scalar field dark matter dynamics in the non-relativistic regime using a symmetrised split-step pseudospectral algorithm. The notebook interface makes it simple to specify simulation parameters and visualise the resulting output but performance-critical routines are managed via calls to computationally efficient compiled libraries. PyUltraLight runs on standard desktop hardware with support for shared memory mutlithreading and is available on GitHub.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Pseudo-spectral Python code to compute ultralight dark matter dynamics.

1810Python, Jupyter NotebookJul 2, 20181 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{edwards2018pyultralight,
  title  = {PyUltraLight: A Pseudo-Spectral Solver for Ultralight Dark Matter Dynamics},
  author = {Faber Edwards and Emily Kendall and Shaun Hotchkiss and Richard Easther},
  year   = {2018},
  eprint = {1807.04037},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.04037}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1807.04037.svg)](https://codeofpaper.com/paper/1807.04037)

Discussion