Survey

darksirens.survey.noisecalculation module

class darksirens.survey.noisecalculation.noise(specs, survey, generic_event, d_L, lensing=None)

Bases: object

This class handles the computation of the signal-to-noise ratio and errors for each event.

compute_noise(events, d_L)

This function uses the survey specifications to compute the total noise and signal-to-noise ratio for each event. It returns the final mock catalogue.

Parameters
  • events – an instance of the Events class

  • d_L – the luminosity distance for each event.

snrfunc(zz, zz0, ff0, waveform0, lum_dist, det_noises)

This function returns the signal-to-noise ratio for an event.

Parameters
  • zz – the redshift of the event.

  • zz0 – a reference redshift.

  • ff0 – the frequency of the gravitational wave emitted by the merger.

  • waveform0 – the waveform (i.e. the GW strain) for the event.

  • lum_dist – the luminosity distance to the event.

  • source_extinctions – the source extinctions

  • det_noises – the total power spectral density for the telescope.

darksirens.survey.telescope module

class darksirens.survey.telescope.survey(specs)

Bases: object

This class handles the definitions of the survey being considered (only Einstein Telescope available for now).

It is based on the gw-horizon code by Evan Hall.

antenna(source_theta, source_phi, source_psi)

This function returns the antenna patterns for a telescope with 60 degree opening angles between its arms (equilateral triangle configuration.)

Parameters
  • source_theta – the right ascension angle of the source.

  • source_phi – the declination angle of the source.

  • source_psi – the polarisation angle (rotation angle between the source and detector planes).