table of contents
PLGEN(1) | User Commands | PLGEN(1) |
NAME¶
plgen - generate samples from a power-law distribution
SYNOPSIS¶
plgen [OPTIONS] num_samples gamma [kappa]
DESCRIPTION¶
Generates a given number of samples from a power-law distribution with an optional exponential cutoff. The pdf being sampled is given as follows:
P(k) = C * k^(-gamma) * exp(-k/kappa)
where C is an appropriate normalization constant. gamma is given by the second command line argument, kappa is given by the -k switch.
OPTIONS¶
July 2021 | plfit |