confidence_interval(a, confidence=0.95, sdist='t')
Confidence intervals for the sample mean of a set of measurements.