constraint
Posted: 20 Aug 2008, 13:23
What is the easiest way to impose a constraint on final Twiss
parameter sduring a matching. For instance I would like to
fit the horizontal Twiss parameters to a specific target
while only requiring the vertical Twiss parameters to be within
a certain range, I would imagine something like
&optimization_term
term = "alphax 6.00 - sqr" &end
&optimization_term
term = "betax 18 - sqr" &end
&optimization_constraint
quantity="betay" lower=10, upper=30 &end
&optimization_constraint
quantity="alphay" lower=10, upper=30 &end
but this does not work (betay and alphay are not allowed
"quanities" (?). Thank you!!
parameter sduring a matching. For instance I would like to
fit the horizontal Twiss parameters to a specific target
while only requiring the vertical Twiss parameters to be within
a certain range, I would imagine something like
&optimization_term
term = "alphax 6.00 - sqr" &end
&optimization_term
term = "betax 18 - sqr" &end
&optimization_constraint
quantity="betay" lower=10, upper=30 &end
&optimization_constraint
quantity="alphay" lower=10, upper=30 &end
but this does not work (betay and alphay are not allowed
"quanities" (?). Thank you!!