ml4gw.waveforms.adhoc.ringdown
Classes
|
Callable class for generating ringdown waveforms. |
- class ml4gw.waveforms.adhoc.ringdown.Ringdown(sample_rate, duration)
Bases:
ModuleCallable class for generating ringdown waveforms.
This model applies the supplied frequency and quality factor directly to a damped sinusoid. For the amplitude, it infers the remnant mass and spin with closed-form fits and uses quadrupolar spherical-harmonic inclination factors. Its spherical angular dependence is therefore not expected to match
lalsimulation.SimBlackHoleRingdown, which evaluates spin-weighted spheroidal harmonics numerically. After factoring out the angular response, the absolute amplitudes can still differ by a spin-dependent normalization.- Parameters:
sample_rate (
float) -- Sample rate of waveformduration (
float) -- Duration of waveform
- forward(frequency, quality, epsilon, phase, inclination, distance)
Generate ringdown waveform based on the damped sinusoid equation.
- Parameters:
frequency (
Float[Tensor, 'batch']) -- Central frequency of the ringdown waveform in Hzquality (
Float[Tensor, 'batch']) -- Quality factor of the ringdown waveformepsilon (
Float[Tensor, 'batch']) -- Fraction of black hole's mass radiated as gravitational wavesphase (
Float[Tensor, 'batch']) -- Initial phase of the ringdown waveform in radinclination (
Float[Tensor, 'batch']) -- Inclination angle of the source in raddistance (
Float[Tensor, 'batch']) -- Distance to the source in Mpc
- Returns:
Tensors of cross and plus polarizations