Some matching commands suggestion  [SOLVED]

https://www.dacm-logiciels.fr/tracewin
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Some matching commands suggestion

Post by FranceDidier »

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
Chinashliu
Skilled
Skilled
Posts: 100
Joined: Fri 5 Feb 2021 04:36
Country:
China (cn)
China

Re: Some matching commands suggestion

Post by Chinashliu »

I want to set α_x=α_y, β_x=β_y at a location.
There's a diag_dbeta, but there's no diag_dalpha command.
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Some matching commands suggestion

Post by FranceDidier »

Ok, we didn't understand each other, sorry.
A new diagnostic, DIAG_DTWISS2, does what you ask.

Regards,

Didier
Chinashliu
Skilled
Skilled
Posts: 100
Joined: Fri 5 Feb 2021 04:36
Country:
China (cn)
China

Re: Some matching commands suggestion

Post by Chinashliu »

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
Chinashliu
Skilled
Skilled
Posts: 100
Joined: Fri 5 Feb 2021 04:36
Country:
China (cn)
China

Re: Some matching commands suggestion  [SOLVED]

Post by Chinashliu »

Dear Didier,

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

Kinds,
shliu
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Some matching commands suggestion

Post by FranceDidier »

Dear Shliu,

Very well

Didier
Locked