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:
- rate
Quantity
Expectation value for the total rate of photons with unit 1 / cm**2 / s.
- rate
- Returns:
- poisson_ratefunction
Function that generates Poisson distributed times with rate
rate
.