Page 3 of 3

Re: Some matching commands suggestion

Posted: Thu 16 Mar 2023 10:01
by Didier
Hi,

Your example finally works perfectly, it does nothing!
Indeed as you ask to have identical TWiss parameters at the same position, it is easy, it is obviously always true.
I don't really understand what you want to do

Regards,

Didier

Re: Some matching commands suggestion

Posted: Thu 16 Mar 2023 12:26
by shliu
I want to set α_x=α_y, β_x=β_y at a location.
There's a diag_dbeta, but there's no diag_dalpha command.

Re: Some matching commands suggestion

Posted: Thu 16 Mar 2023 18:42
by Didier
Ok, we didn't understand each other, sorry.
A new diagnostic, DIAG_DTWISS2, does what you ask.

Regards,

Didier

Re: Some matching commands suggestion

Posted: Fri 17 Mar 2023 04:43
by shliu
Thank you very much!

Another command may be like DIAG_SET_MATRIX2 to check the "Beam matrix" element since sometimes I need to check beam parameters at a position. For example, how to match the m_13 element when a solenoid is introduced before.

Kinds,
shliu

Re: Some matching commands suggestion  [SOLVED]

Posted: Sat 18 Mar 2023 16:21
by shliu
Dear Didier,

Maybe the command DIAG_SET_MATRIX is already enough for my problem. Thank you!

Kinds,
shliu

Re: Some matching commands suggestion

Posted: Sun 19 Mar 2023 12:19
by Didier
Dear Shliu,

Very well

Didier