PLGEN(1) | User Commands | PLGEN(1) |
plgen - generate samples from a power-law distribution
plgen [OPTIONS] num_samples gamma [kappa]
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.
July 2021 | plfit |