ml4gw.waveforms.adhoc.sine_gaussian
Functions
Classes
|
Callable class for generating sine-Gaussian waveforms. |
- class ml4gw.waveforms.adhoc.sine_gaussian.SineGaussian(sample_rate, duration)
Bases:
Module
Callable class for generating sine-Gaussian waveforms.
- Parameters:
sample_rate (
float
) -- Sample rate of waveformduration (
float
) -- Duration of waveform
- forward(quality, frequency, hrss, phase, eccentricity)
Generate lalinference implementation of a sine-Gaussian waveform. See git.ligo.org/lscsoft/lalsuite/-/blob/master/lalinference/lib/LALInferenceBurstRoutines.c#L381 for details on parameter definitions.
- Parameters:
frequency (
Float[Tensor, 'batch']
) -- Central frequency of the sine-Gaussian waveformquality (
Float[Tensor, 'batch']
) -- Quality factor of the sine-Gaussian waveformhrss (
Float[Tensor, 'batch']
) -- Hrss of the sine-Gaussian waveformphase (
Float[Tensor, 'batch']
) -- Phase of the sine-Gaussian waveformeccentricity (
Float[Tensor, 'batch']
) -- Eccentricity of the sine-Gaussian waveform. Controls the relative amplitudes of the hplus and hcross polarizations.
- Returns:
Tensors of cross and plus polarizations
- ml4gw.waveforms.adhoc.sine_gaussian.semi_major_minor_from_e(e)
- Parameters:
e (Tensor)