Skip to content
Snippets Groups Projects
Commit 1b7072b1 authored by Claudio Scafuri's avatar Claudio Scafuri :speech_balloon:
Browse files

add comprehensive ringparametes calc. and display

parent f944d6dd
No related branches found
No related tags found
No related merge requests found
......@@ -65,3 +65,9 @@ iq = ring.uint32_refpts('QD_S05_02')[0] # use also pattern matching idf needed
TM = at.find_elem_m66(ring[iq]) # get 6x6 transport materix
# get global ring parameters
ring.radiation_on()
ringparams = ring.radiation_parameters()
ringparams = ring.envelope_parameters(params=ringparams)
print(ringparams)
......@@ -55,3 +55,8 @@ mp.show()
print('tune H:',tuneH,'tune V:',tuneV)
print('chrom H:',chromH,' chromV:', chromV)
print('E:', e_eV/1e9,' GeV')
ring.radiation_on()
ringparams = ring.radiation_parameters()
ringparams = ring.envelope_parameters(params=ringparams)
print(ringparams)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment