&twiss_analysis STRING start_name = NULL; STRING end_name = NULL; double s_start = -1; double s_end = -1; STRING tag = NULL; long clear = 0; &end
start_name
-- Name of the element at which to start analysis. If the
element occurs more than once, the first occurrence is used.
end_name
-- Name of the element at which to end analysis. If the
element occurs more than once, the first occurrence is used.
s_start
-- Position (in meters) at which to start analysis.
s_end
-- Position (in meters) at which to end analysis.
tag
-- Name prefix for quantities computed by the analysis. The quantity
names will have the form tag.statistic.quantity, where statistic
is one of min
, max
, and ave
, and quantity is one of
betax
, betay
, etax
, and etay
. E.g., if tag is region1
,
then one could use expressions like region1.max.betax
in optimization.
clear
-- If nonzero, all previously defined analysis regions are deleted.