minke.distribution.
burst_dist
(minimum, maximum, size=1)[source]¶Generate an hrss drawn from the distribution [ r + 50/r ] as desired by the Burst group for observing MDCs
minke.distribution.
even_time
(start, stop, rate, jitter=0)[source]¶Produce an evenly-distributed set of times which has some jitter.
Parameters: |
|
---|---|
Returns: |
|
minke.distribution.
favorable_sky
(net, time)[source]¶Wander through the skies, searching for a most favorable location — draw extrinsic parameters as if the network antenna pattern magnitude were the PDF.
minke.distribution.
log_uniform
(lower, upper, number)[source]¶Draw uniformly in the log of a predefined range.
Parameters: |
|
---|---|
Returns: |
|
minke.distribution.
supernova_angle
(num, divisions=10)[source]¶Draw from a discrete distribution of angles.
minke.distribution.
uniform_dec
(num)[source]¶Declination distribution: uniform in sin(dec). num controls the number of draws.
minke.distribution.
uniform_interval
(interval, num)[source]¶Return a number, or a list of numbers which are sampled from a uniform distribution.
Parameters: |
|
---|---|
Returns: |
|
Notes
minke.distribution.
uniform_phi
(num)[source]¶Uniform in (0, 2pi) distribution. num controls the number of draws.
minke.distribution.
uniform_sky
(number=1)[source]¶Get a set of (RA, declination, polarization) randomized appopriately to astrophysical sources isotropically distributed in the sky.