Skip to content

Changed M2 fitting

Compare
Choose a tag to compare
@scottprahl scottprahl released this 13 Mar 06:08

M² is found by fitting to a hyperbola. Heretofore the hyperbola was fit using d², laserbeamsize now uses d. Both methods give nearly identical results, but I believe fitting to d is more correct.

v1.9.2

  • use both black and white dashed lines
  • fit to d and not d**2
  • add more dunders to init.py
  • fix residual calculation broken in v1.9.1

v1.9.1

  • centralize version number to a single place

v1.9.0

  • add beam_ellipticity()
  • add beam_parameter_product()
  • rotate x-tick labels when more than 10 ticks
  • removed deprecated use of np.matrix()
  • M2_report now includes BPP values
  • improve API docs
  • code linting