Skip to main content

Package for controlling motion devices in a BaPSF DAQ system

Project description

bapsf_motion

Documentation Status

bapsf_motion is a module developed for the Basic Plasma Facility (BaPSF) at the University of California, Los Angeles to integrate with its DAQ system and control motion devices, such as probe drives.

GUI Development

This package uses PySide6 to develop its GUI interface. In attempts to keep the code pythonic, we are using the feature from __feature__ import snake_case. This will allow us to write code like QMainWindow.set_window_title() instead of QMainWindow.setWindowTitle(). To get a module set up the __feature__ import must occur after the first PySide6 import, for example:

from PySide6.QtWidgets import QMainWindow

from __feature__ import snake_case  # noqa

Note the # noqa, this is needed to prevent linters and code inspection from complaining about the import order.

When this is first implement your linters and code inspection will likely complain with unresolved instances. This is because the Python stub files (i.e. .pyi files) were generated without this feature enabled. To update your stub files follow the procedure below:

  1. Determine where PySide6 is installed. This can be done by executing python -m pip show pyside6 in the command prompt. This show be the site-packages directory for you Python distribution.

  2. Navigate to the directory indicated by step 1.

  3. Navigate into the PySide6/ directory.

  4. Now execute the following command in your command prompt:

    pyside6-genpyi all --feature snake_case
    

    This will update all the stub files accordingly, and should only take a few seconds.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bapsf_motion-2026.6.1.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bapsf_motion-2026.6.1-py3-none-any.whl (263.1 kB view details)

Uploaded Python 3

File details

Details for the file bapsf_motion-2026.6.1.tar.gz.

File metadata

  • Download URL: bapsf_motion-2026.6.1.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bapsf_motion-2026.6.1.tar.gz
Algorithm Hash digest
SHA256 fbf2baed325aa7f0f10eb2637365229034d6f7e49306812414371b7bc7f0d7e3
MD5 375aecd7f6c0cee92ba28d66e47f1133
BLAKE2b-256 a34f22af780fab06705dd51b042ce8fdedaeb3429357144429665665e4e766d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for bapsf_motion-2026.6.1.tar.gz:

Publisher: python-publish.yml on BaPSF/bapsf_motion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bapsf_motion-2026.6.1-py3-none-any.whl.

File metadata

  • Download URL: bapsf_motion-2026.6.1-py3-none-any.whl
  • Upload date:
  • Size: 263.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bapsf_motion-2026.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 06332f983246aabe5398cbc8d7968e2539e9e895deade643d717b428fcafeba3
MD5 ae39b5542790946a4621c58a0762bbf8
BLAKE2b-256 7139dfede803a9e132bc60702d52f405fc05f1757ac0c9b9f06cb9cce9a0f58f

See more details on using hashes here.

Provenance

The following attestation bundles were made for bapsf_motion-2026.6.1-py3-none-any.whl:

Publisher: python-publish.yml on BaPSF/bapsf_motion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page