bapsf_motion.utils

Utility functionality for bapsf_motion.

Sub-Packages & Modules

exceptions

Exceptions and warnings specific to bapsf_motion.

toml

Module for TOML file functionality.

units

This subpackage contains classes and functions for defining and converting between different physical units, as well as the units themselves.

units_

Functionality for configuring astropy.units for bapsf_motion.

Classes

SimpleSignal()

A very simple, rudimentary class for creating signals.

Inheritance diagram of bapsf_motion.utils.SimpleSignal

Functions

dict_equal(d1, d2)

load_example(filename[, as_string])

Load an example TOML file from bapsf_motion.examples.

loop_safe_stop(loop[, max_wait])

Safely cancel all tasks in the event loop loop and stop the loop once the tasks are done.

Variables & Attributes

counts

Base unit for (stepper motor) encoders.

ipv4_pattern

Regular expression pattern for parsing IPv4 addresses

rev

A unit for the instance of revolving.

steps

Base unit for stepper motors.