Parser/transformator for MAD-X sequences
Project description
Description
Script to parse MAD-X sequences from a source file and perform simple transformations on the elements.
Dependencies
Installation
The setup is to be performed as follows
python setup.py install
Usage
The command should be called as follows:
Usage: madseq.py [-j <json>] [-o <output] [<input>] madseq.py (--help | --version) Options: -o <output>, --output=<output> Set output file -j <json>, --json=<json> Set JSON output file -h, --help Show this help -v, --version Show version information python -m madseq <infile.madx >outfile.madx
If <input> is not specified the standard input stream will be used to read the input file. Respectively, the standard output stream will be used if <output> is not specified.
Caution
Do not use multi line commands in the input sequences. At the moment these are not parsed correctly!
Do not add any at= position arguments in the input sequences. The madseq script takes care of this responsibility.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file madseq-0.1.tar.gz
.
File metadata
- Download URL: madseq-0.1.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9631cee95873c90be0522325b90e4c1ee8d332d824f4f7f84f4cd0406e6ad4bb |
|
MD5 | 289652f1e4eb7bc3f2875f61d35fee84 |
|
BLAKE2b-256 | e60ae47dcd7c3fea2c001fe85ec6f240969cffd03593b299f553bbed42f7ff68 |