Quad result from LATTICE command

https://www.dacm-logiciels.fr/tracewin
Post Reply
United States of Americawtam
Skilled
Skilled
Posts: 113
Joined: Mon 7 Dec 2020 06:17
Location: Boston
Country:
United States of America (us)
United States of America

Quad result from LATTICE command

Post by United States of Americawtam »

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
User avatar
FranceDidier
Administrator
Administrator
Posts: 988
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Quad result from LATTICE command

Post by FranceDidier »

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
United States of Americawtam
Skilled
Skilled
Posts: 113
Joined: Mon 7 Dec 2020 06:17
Location: Boston
Country:
United States of America (us)
United States of America

Re: Quad result from LATTICE command

Post by United States of Americawtam »

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
United States of Americawtam
Skilled
Skilled
Posts: 113
Joined: Mon 7 Dec 2020 06:17
Location: Boston
Country:
United States of America (us)
United States of America

Re: Quad result from LATTICE command

Post by United States of Americawtam »

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
User avatar
FranceDidier
Administrator
Administrator
Posts: 988
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Quad result from LATTICE command

Post by FranceDidier »

Dear Wai-Ming,

Ok, I see now. It's fixed.

Regards,

Didier
United States of Americawtam
Skilled
Skilled
Posts: 113
Joined: Mon 7 Dec 2020 06:17
Location: Boston
Country:
United States of America (us)
United States of America

Re: Quad result from LATTICE command

Post by United States of Americawtam »

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
Post Reply