poisson_process

marxs.source.poisson_process(rate: Unit('1 / (s cm2)'))[source] [edit on github]

Return a function that generates Poisson distributed times with rate rate.

Parameters:
rateQuantity

Expectation value for the total rate of photons with unit 1 / cm**2 / s.

Returns:
poisson_ratefunction

Function that generates Poisson distributed times with rate rate.