snr_circ_stationary

legwork.snr.snr_circ_stationary(m_c, f_orb, dist, t_obs, position=None, polarisation=None, inclination=None, interpolated_g=None, interpolated_sc=None, **kwargs)[source]

Computes SNR for circular and stationary sources

Parameters
m_cfloat/array

Chirp mass

f_orbfloat/array

Orbital frequency

distfloat/array

Distance to the source

t_obsfloat

Total duration of the observation

positionSkyCoord/array, optional

Sky position of source. Must be specified using Astropy’s astropy.coordinates.SkyCoord class.

polarisationfloat/array, optional

GW polarisation angle of the source. Must have astropy angular units.

inclinationfloat/array, optional

Inclination of the source. Must have astropy angular units.

interpolated_gfunction

A function returned by scipy.interpolate.interp2d that computes g(n,e) from Peters (1964). The code assumes that the function returns the output sorted as with the interp2d returned functions (and thus unsorts). Default is None and uses exact g(n,e) in this case.

interpolated_scfunction

A function returned by scipy.interpolate.interp1d that computes the LISA sensitivity curve. Default is None and uses exact values. Note: take care to ensure that your interpolated function has the same LISA observation time as t_obs and uses the same instrument.

**kwargsvarious

Keyword args are passed to legwork.psd.power_spectral_density(), see those docs for details on possible arguments.

Returns
snrfloat/array

SNR for each binary