qnm¶
Calculate quasinormal modes of Kerr black holes.
The highest-level interface is via qnm.cached.KerrSeqCache
,
which will fetch instances of
qnm.spinsequence.KerrSpinSeq
. This is most clearly
demonstrated with an example.
Examples¶
>>> import qnm
>>> # qnm.download_data() # Only need to do this once
>>> grav_220 = qnm.modes_cache(s=-2,l=2,m=2,n=0)
>>> omega, A, C = grav_220(a=0.68)
>>> print(omega)
(0.5239751042900845-0.08151262363119986j)
Members
qnm.download_data ([overwrite]) |
Fetch and decompress tarball of precomputed spin sequences from the web. |
qnm.modes_cache |
Interface to the cache of QNMs. |
-
qnm.
download_data
(overwrite=False)[source]¶ Fetch and decompress tarball of precomputed spin sequences from the web.
Parameters: - overwrite: bool, optional [default: False]
If there is already a tarball on disk, this flag controls whether or not it is overwritten.
-
qnm.
modes_cache
= <qnm.cached.KerrSeqCache object>¶ Interface to the cache of QNMs. This is a singleton instance of
qnm.cached.KerrSeqCache
. It can be called like a function qnm.modes_cache(s,l,m,n) to get a specific mode, the result being an instance ofqnm.spinsequence.KerrSpinSeq
.