Skip to content

pgmcomponents version 0.2

Compare
Choose a tag to compare
@patrickwang27 patrickwang27 released this 23 Oct 13:56
· 90 commits to main since this release

Preliminary testing of version 0.1 uncovered some performance issues and undesired artefacts in the update mechanism of EPICS like control widgets. Here is a rundown of changes:

  • Better visualisation
  • Correct update of widget control input
  • PEP standards for packaging now implemented
  • sphinx documentation
  • assortment of bug fixes
  • automatic prompt if PySimpleGUI is not up to date

For dependency management, this package should now be installed via pip. The built source file now is contained in the dist directory as well as part of this release below. To install, invoke:

$ python -m pip install pgmcomponents-0.2.tar.gz

The API is then accessible via:

from pgmcomponents.elements import Plane_Mirror, Grating, PGM
from pgmcomponents.geometry import Vector3D, Point3D, Plane, Ray3D, calc_beam_size

To access the gui:
$ pgm-gui

or more preferrably:

$ python -m pgmcomponents.gui.main