sample_distribution#
- atompy.sample_distribution(edges, values, size)[source]#
Sample a distribution described by
edgesandvalues.- Parameters:
- Returns:
- sample
ndarray, shape(size,) A sample ranging from
edges[0]toedges[-1]with a distribution corresponding tovalues.
- sample
Notes
See also Sample a random distribution.