Metadata for building software to interact with Zgoubi
Project description
zgoubi-metadata
Useful metadata for creating zgoubi interfaces
Currently provides description of zgoubi elements in a yaml format.
Can be used by importing the module and using function that will return a dictionary of elements.
from zgoubi_metadata import elements
es_yaml = elements.get_raw_yaml()
es_parsed = elements.get_parsed()
Also the data files can be accessed through the pkg_resources
interface.
import pkg_resources
pkg_resources.resource_listdir("zgoubi_metadata", "data/elements_yaml/")
drift_yaml = pkg_resources.resource_string("zgoubi_metadata", "data/elements_yaml/DRIFT.yaml")
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
Zgoubi metadata-0.1a1.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for Zgoubi_metadata-0.1a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ebc29c57310db1ff1c19af45a6ae4fb92444f0980fd88803a7acf0ea27948d3 |
|
MD5 | 660b8c96352c1b0a11f2c88dd63a0c92 |
|
BLAKE2b-256 | 2bc9361e88f31e49f886ae099dc4679943bf26416ec063812b2f7e5d53a7c843 |