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

some ideas stolen from the cloud

parent c0851e59
No related branches found
No related tags found
No related merge requests found
quads = ring0.get_refpts(at.Quadrupole])
bpms = ring0.get_refpts(at.Monitor)
rm = LinoptResponseMatrix(ring0, bpms, quads, ['beta', 'mu', 'dispersion'], [[0, 1], [0, 1], 0], fit_tune=True, obsw=[1.0, 1.0, 1000.0])
rm.compute_fullrm(ring0, use_mp=True)
target, _ = rm.get_vals(ring0)
dk, exp = rm.correct(ring_err, target, apply_correction=True)
#Warning!!! for this to work ring and ring_err MUST have the same element sequence because variables and observables are based on their refpts
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