Skip to content

Conversation

@catheybl
Copy link
Collaborator

Virtual accelerators can now be imported into other scripts without starting a server. In this case, the server functions as a simple dictionary using the same key, value pairs. SNS, I Dump, and BTF lines have all been adjusted accordingly.

…ual_accelerator.py and into ca_server.py when EPICS_Server is initialized.
…so converted the virtual_accelerator function into the class VirtualAccelerator. This allows for importing of Virac accelerator directly into a script so that it can be used without EPICS.
… VA. VirtualAccelerator now takes **kwargs in order to use anything passed to it. build_sns does the same. This allows for the same arguments used from the command line to be passed to the imported functions. Only updated the SNS Linac.
…tualAccelerator with the default parser. The second was with how the BTF VA was created. Now, initial setting changes are implemented before returning the BTF VA in build_btf.
…rrays whenever noise was added to the parameter.
@catheybl catheybl merged commit 50ac7c3 into PyORBIT-Collaboration:main Oct 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants