Strain distributions

When drawing a large number of source waveforms it can be useful to define a distribution of desired signal powers.

This is normally measured using the root-sum-squared strain (hrss).

A number of hrss distributions are built-in to Minke.

minke.distribution.burst_dist(minimum, maximum, size=1)[source]

Generate an hrss drawn from the distance distribution [ r + 50/r ] used for Burst allsky mock data challenges.

Parameters
minimumfloat

The lowest hrss to be produced.

maximumfloat

The largest hrss to be produced.

sizeint

The number of draws to produce. Defaults to 1.

Sky distributions

Equally, you’ll need to define a sky location for your waveforms. There are a number of ways to do this, and some are supported out-of-the-box by Minke.

minke.distribution.uniform_sky(number=1)[source]

Get a set of (RA, declination, polarization) drawn from an isotropic distribution over the whole sky.

Parameters
numberint

The number of random sky locations and polarisations to be produced.

Returns
raarray of float

Randomly drawn right ascensions.

decarray of float

Randomly drawn declinations.

polarray of float

Randomly drawn polarisations.