SpinWeightedSpheroidalHarmonics.jl computes spin-weighted spheroidal harmonics and eigenvalues using a spectral decomposition method.
Note that v0.5.0 is a breaking release.
To install the package using the Julia package manager, simply type the following in the Julia REPL:
using Pkg
Pkg.add("SpinWeightedSpheroidalHarmonics")
For example, to compute the spin-weighted spheroidal eigenvalue
using SpinWeightedSpheroidalHarmonics
s=-2; l=2; m=2; a=0.7; omega=0.5;
spin_weighted_spheroidal_eigenvalue(s, l, m, a*omega)
For example, to compute the spin-weighted spheroidal harmonic for the mode
using SpinWeightedSpheroidalHarmonics
s=-2; l=2; m=2; a=0.7; omega=0.5;
theta=π/6; phi=π/3;
# Construct the SpinWeightedSpheroidalHarmonicFunction
swsh = spin_weighted_spheroidal_harmonic(s, l, m, a*omega)
swsh(theta, phi)
If you have used this code in your research that leads to a publication, please cite the following article:
@article{Lo:2023fvv,
author = "Lo, Rico K. L.",
title = "{Recipes for computing radiation from a Kerr black hole using Generalized Sasaki-Nakamura formalism: I. Homogeneous solutions}",
eprint = "2306.16469",
archivePrefix = "arXiv",
primaryClass = "gr-qc",
month = "6",
year = "2023"
}
The package is licensed under the MIT License.