API for the jaxqualin.qnmode
module
mode
Bases: mode_free
A class representing a frequency-fixed mode of a black hole.
Attributes:
Name | Type | Description |
---|---|---|
M |
float
|
The mass of the black hole. |
a |
float
|
The spin parameter of the black hole. |
retro_def_orbit |
bool
|
Whether define retrograde modes with respect to the
orbital frame ( |
mode_free
A class representing a mode of a black hole.
Attributes:
Name | Type | Description |
---|---|---|
lmnx |
Union[List[List[int]], str]
|
A list of lists of integers representing the mode numbers, or
a string equal to |
spinseq_list |
List[KerrSpinSeq]
|
A list of |
spinseq_list_neg_a |
List[KerrSpinSeq]
|
Same as |
omegar |
float
|
The real part of the QNM , if fixed.
|
omegai |
float
|
The imaginary part of the QNM frequency, if fixed.
|
omega |
complex
|
The complex QNM frequency, if fixed.
|
M |
float
|
The mass of the black hole, if fixed. |
a |
float
|
The spin parameter of the black hole, if fixed. |
Methods:
Name | Description |
---|---|
__init__ |
Initializes a mode_free object. |
fix_mode |
Fixes the complex frequency of the mode. |
__init__(lmnx, s=-2)
Initializes a mode_free object.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
lmnx |
Union[List[List[int]], str]
|
A list of lists of integers representing the mode numbers,
or a string equal to |
required |
s |
int
|
The spin weight of the mode. Defaults to -2. |
-2
|
fix_mode(M, a, retro_def_orbit=True)
Fixes the complex frequency of the mode.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
M |
float
|
The mass of the black hole. |
required |
a |
float
|
The spin parameter of the black hole. |
required |
retro_def_orbit |
bool
|
Whether to define retrograde modes with respect
to the orbital frame ( |
True
|
is_overtone()
Determines whether the mode is an overtone.
Returns:
Type | Description |
---|---|
bool
|
Whether the mode is an overtone. |
string()
Returns a string representation of the mode numbers.
Returns:
Type | Description |
---|---|
str
|
A string representation of the mode numbers. |
sum_lm()
Returns the sum of the mode quantum numbers of constituent linear modes.
Returns:
Type | Description |
---|---|
Tuple[int, int]
|
The sum of the mode quantum numbers of constituent linear modes. |
tex_string()
Returns a TeX string representation of the mode numbers.
Returns:
Type | Description |
---|---|
str
|
A TeX string representation of the mode numbers. |