Is there a way how to fit a Poisson distribution (determine the lambda parameter) from a histogram of an experimental process?
In the experimental setup, in each event we are recording the number of detected photons and the experiment records the histogram of a huge number of the observation. So, I don’t have access to the recordings of each observations - I can only acces the histogram of a huge number of observations.
Distributions.fit(D::Distribution, x) expects that I can provide an array of observations. Is there a way how to use the histogram instead and fit lambda parameter of the Poisson distribution to the histogram?