apsbits.api.run_instrument#

Run an instrument’s startup module and return the ophyd registry information.

This module provides functionality to dynamically import and run a package’s startup module, then return the ophyd registry information.

Functions

main()

Parse arguments and run the instrument startup.

run_instrument_startup(package_name)

Run a package's startup module and return the ophyd registry information.

apsbits.api.run_instrument.main() None[source]#

Parse arguments and run the instrument startup.

Returns:

None

apsbits.api.run_instrument.run_instrument_startup(package_name: str) Tuple[bool, Dict[str, Any] | None][source]#

Run a package’s startup module and return the ophyd registry information.

Parameters:

package_name – The name of the package to run.

Returns:

A tuple containing a boolean indicating success and the registry information.