Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stuwilkins authored Jun 30, 2019
1 parent 2d4e969 commit b261b7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# lmfit

[![Build Status](https://dev.azure.com/nsls-ii/lmfit/_apis/build/status/NSLS-II.lmfit?branchName=master)](https://dev.azure.com/nsls-ii/lmfit/_build/latest?definitionId=4&branchName=master)

This is the home page of **lmfit**,
a self-contained C library for Levenberg-Marquardt
least-squares minimization and curve fitting.
Expand Down Expand Up @@ -112,4 +114,4 @@ Assuming that data points _y_(_x_) follow Gaussian distributions with standard d

### How to deal with Poisson-distributed data

Least-squares fitting is not justified for Poisson-distributed data -- except if the data are large enough (say, on average _y_ of the order of 10 or larger) so that the Poisson distribution is reasonably well approximated by a Gaussian with standard deviation _dy_=sqrt(_y_). When experimental data have on average too low values _y_ per channel, they should be binned into fewer channels with better statistics before any least-squares fitting.
Least-squares fitting is not justified for Poisson-distributed data -- except if the data are large enough (say, on average _y_ of the order of 10 or larger) so that the Poisson distribution is reasonably well approximated by a Gaussian with standard deviation _dy_=sqrt(_y_). When experimental data have on average too low values _y_ per channel, they should be binned into fewer channels with better statistics before any least-squares fitting.

0 comments on commit b261b7e

Please sign in to comment.