Page 1 of 1

Quad result from LATTICE command

Posted: Tue 19 Nov 2024 22:23
by wtam
Dear Didier,

Could you please make the resulting quadrupole values from the lattice command conveniently available? I am only able to find those values in the self generated .dat file. A file layout similar to the self generated xx_CC.txt file for fieldmaps would be great.

Thanks,
Wai-Ming

Re: Quad result from LATTICE command

Posted: Wed 20 Nov 2024 17:14
by Didier
Dear Wia-Ming,

I don't understand your request: the xxx_CC.txt file contains the values of the quadrupoles (hard-edge of FIELD_MAP) modified after the lattice command or any other command capable of modifying them.

Regards,

Didier

Re: Quad result from LATTICE command

Posted: Thu 21 Nov 2024 22:03
by wtam
Dear Didier,

I only found field map and hard edge dipole in the xxx_CC.txt file. There is no hard edge quadrupoles.

Best regards,
Wai-Ming

Re: Quad result from LATTICE command

Posted: Thu 21 Nov 2024 22:10
by wtam
Dear Didier,

Below is an example:
; Structure file
DRIFT 0 100
;
drift 10 10

lattice 4 1
set_adv 85

quad_ele 10 10 10
drift 10 10
quad_ele 10 -10 10
drift 10 10
quad_ele 10 10 10
drift 10 10
quad_ele 10 -10 10
drift 10 10
quad_ele 10 10 10
drift 10 10
quad_ele 10 -10 10
drift 10 10

lattice_end
;
DRIFT 0 100
END

Below is the xxx_CC.txt file:
Fichier TraceWin:
Particle name: Proton
Particle mass: 938.272 MeV
Particle charge: 1
Beam intensity : 0 mA
Input energy: 1 MeV
Output energy: 1 MeV

Re: Quad result from LATTICE command

Posted: Fri 22 Nov 2024 15:09
by Didier
Dear Wai-Ming,

Ok, I see now. It's fixed.

Regards,

Didier

Re: Quad result from LATTICE command

Posted: Fri 17 Jan 2025 21:20
by wtam
Dear Didier,

Two more issues:
(1) I also realized that some RF electric field maps (flag "100") would appear in the CC.txt file, but some don't. Could you make all of them appear?
(2) Electrostatic field maps (flag "1") would appear in the CC.txt file as FIELD_MAP_CAV and have Input_cavity_phase.

Best regards,
Wai-Ming

Re: Quad result from LATTICE command

Posted: Mon 20 Jan 2025 14:10
by Didier
Dear Wai-Ming,

have you some examples showing error?

Regards,

Didier