Skip to content

MSLNZ/Mass-Circular-Weighing

Repository files navigation

Mass-Circular-Weighing

Mass-Circular-Weighing is a Python program designed to assist with the calibration of masses at the Measurement Standards Laboratory of New Zealand. Weighings are performed using the method of circular weighing described in A general approach to comparisons in the presence of drift.

Install

To install Mass-Circular-Weighing, first install MSL Package Manager, then use the Package Manager to install Mass-Circular-Weighing:

pip install msl-package-manager
msl install mass-circular-weighing

These two commands should install the program and all its dependencies as needed.

Dependencies

  • Python 3.6+
  • MSL Package Manager, which is then used to install msl packages (equipment, qt, loadlib, io, and network) and their dependencies.
  • PyQt5 is needed for msl-qt (see msl-qt for how to install PyQt5 with msl-qt)
  • numpy and xlrd are included in the msl packages
  • requests is needed to communicate with the Omega ambient monitoring web server
  • xlwt, and openpyxl are used for Excel file handling
  • tabulate is used for LaTeX output

Other requirements

To run the program, you will need to be able to access the Balance Register and the Equipment Register in I:/MSL/Private/Mass/Equipment Register.

Documentation

The documentation for Mass-Circular-Weighing can be found here.