tutorials in Python (inc. numpy & matplotlib) for fitting (also called regression) for three cases:
- IPython notebook for fitting a straight line plus bootstrap and other methods for determine uncertainty/error estimates for the best-fit values of the intercept and slope
- IPython notebook for fitting a power law plus bootstrap for determine uncertainty/error estimates for the best-fit value of the exponent
- (NB bit rough and ready but seems to work OK) IPython notebook for fitting a Gaussian to data - three parameter fit (height, position and width), ie assumes that baseline is zero, or in other words that far from peak, the data tend to zero. If you have baseline you will need to subtract it off before fitting.