QNM
MathematicaQuasinormal modes in Schwarzschild and Kerr spacetime
Quasinormal modes
Kerr quasinormal mode frequencies, separation constants and spherical-spheroidal mixing coefficients.
pip install qnm
qnm computes the quasinormal mode (QNM) frequencies of Kerr black holes using the Cook-Zalutskiy spectral approach. Alongside each frequency it returns the angular separation constant and the spherical-spheroidal mixing coefficients, which are needed to project the spheroidal harmonics onto the spherical basis.
The package ships with a precomputed cache of low-lying multipoles and overtones, so common modes are available without any on-the-fly root finding.
pip install qnm
The first time you use the cached modes, download the precomputed data:
import qnm
qnm.download_data()
Fetch a mode from the cache and evaluate it at a dimensionless spin a:
import qnm
mode = qnm.modes_cache(s=-2, l=2, m=2, n=0)
omega, A, C = mode(a=0.68)
print(omega) # complex QNM frequency
print(A) # angular separation constant
omega is the complex frequency (the imaginary part sets the damping time), and
C holds the spherical-spheroidal mixing coefficients for the mode.
The repository includes notebooks demonstrating the cache, overtones, and mixing-coefficient usage.
If you use qnm in your research, please acknowledge the Toolkit:
This work makes use of the Black Hole Perturbation Toolkit.
qnm also requests the following citation:
See how to cite for the BibTeX entry and guidance.