gwadama.detectors#
- gwadama.detectors.project(h_plus: ndarray, h_cros: ndarray, *, parameters: dict, sf: int, nfft: int, detector: str) ndarray [source]#
Project strain modes in a GW detector.
Project the input GW modes in the sky as detected by the specified detector using Bilby.
- Parameters:
- h_plus, h_crosNDArray
GW polarizations.
- parametersdict
Sky position and time of the event, as requested by Bilby’s method:
``` {
ra: 0, dec: 0, geocent_time: 0, # In GPS. psi: 0 # Binary polarization angle
- sfint
Sample rate of the waveform.
- nfftint
Length of the FFT window.
- detectorstr
GW detector into which the modes will be projected. Must exist in Bilby’s InterferometerList().
- Returns:
- strains_projected: NDArray
Strain(s) projected. If only one detector specified, it is a 1d-array. Otherwise, a 2d-array with shape (3, strain).
Notes
Strains are converted to frequency domain in order to project them, and hence must be windowed.
Before the FFT, a Tukey window is used with alpha=0.04, therefore the initial length of the strains has to be taken into account since around 2% of the beginning and the end of the signal will be damped.