peebee.sampling Module

This submodule contains a few sampling routines for generating accelerations from populations of objects, which can be used for random bootstrapping or unit tests.

Functions

sample_alos_sources_RPL(model, n, com, ...)

Generate a sample of n alos sources from a given model according to a spherically symmetric power law centered on center of mass (COM).

sample_alos_sources_uniform(model, n, bounds)

Generate a sample of n alos sources from a given model over a uniform volume.

sample_sky_uniform(model, n[, max_distance, ...])

Generate uniform random sample of line-of-sight accelerations from sky positions.