Skip to content
Snippets Groups Projects
Commit eff64511 authored by Yngve Levinsen's avatar Yngve Levinsen
Browse files

TraceWin.project example

parent f2901ca3
No related branches found
No related tags found
No related merge requests found
import os
import sys
from ess import TraceWin
if os.path.isfile(sys.argv[1]):
p = TraceWin.project(sys.argv[1])
for key in p.keys():
if "beam1_twiss" in key:
print(key.split("_")[-1], p.get(key))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment