Search found 40 matches

by yuehao
05 Feb 2018, 13:01
Forum: Installation
Topic: sdds for python3.5
Replies: 17
Views: 26475

Re: sdds for python3.5

Thank you very much.
by yuehao
02 Feb 2018, 22:22
Forum: Installation
Topic: sdds for python3.5
Replies: 17
Views: 26475

Re: sdds for python3.5

Hi, Soliday

Could you please also post the python 3 library for mac?

Thank you very much.
Yue
by yuehao
29 Dec 2015, 11:48
Forum: General
Topic: insert element
Replies: 1
Views: 1307

insert element

Hi, Michael

If I want to insert number of new elements (of the same type) into lattice. Can I automatically assign different element name base on # of the insert. e.g. first insert element with name 'ins_01' and second with 'ins_02'?

Thanks a lot.
Yue
by yuehao
13 Dec 2015, 23:46
Forum: General
Topic: question of BMAPXY
Replies: 4
Views: 2107

Re: question of BMAPXY

Hi. Michael

Yes I believe this is a better way.

Thanks for your time.

Yue
by yuehao
13 Dec 2015, 21:10
Forum: General
Topic: question of BMAPXY
Replies: 4
Views: 2107

Re: question of BMAPXY

Thanks, Michael

It is nice to learn that. Just to make it clear, the xp and yp change will be proportional to the square of the parameter 'field_factor' ?

Thanks again,
Yue
by yuehao
13 Dec 2015, 14:49
Forum: General
Topic: question of BMAPXY
Replies: 4
Views: 2107

question of BMAPXY

Hi, Michael I am trying to use BMAPXY element with zero length, i.e. a infinite short kick for momentum change. Is that possible? I got some warning message when I do this. test: BMAPXY, STRENGTH = 1.26e-8, L = 0, FILENAME = test.sdds, METHOD = runge-kutta, ACCURACY = 1e-05 Output, looping error/war...
by yuehao
26 Mar 2015, 15:01
Forum: Linac Tracking
Topic: pass same cavity twice
Replies: 3
Views: 2201

Re: pass same cavity twice

Hi, Michael I have a further question of linking two cavities with different frequency. If I have two cavity with same frequency f1 or wavelength lambda: RF1: RFCA, phase=90, phase_reference=1,f=f1, L=L1... RF2: RFCA, phase=90-360/lambda*length, f=f1, phase_reference=1, L=L1... and it works fine in ...
by yuehao
30 Dec 2014, 11:48
Forum: General
Topic: run_setup very slow for very long beam line.
Replies: 13
Views: 4739

Re: run_setup very slow for very long beam line.

Hi, Michael

I am trying to track the long lattice many times, each varying some parameters. Is there a way of loop inside the command file without read the same lattice repeatedly, since it still takes seconds to read.

Thanks,
Yue
by yuehao
12 Dec 2014, 19:00
Forum: General
Topic: run_setup very slow for very long beam line.
Replies: 13
Views: 4739

Re: run_setup very slow for very long beam line.

Now Pelegant works like a charm.

Thank you very much and have a nice weekend.

Yue
by yuehao
12 Dec 2014, 16:23
Forum: General
Topic: run_setup very slow for very long beam line.
Replies: 13
Views: 4739

Re: run_setup very slow for very long beam line.

HI, Michael I compiled the Pelegant without errors. However when I run it, I got errors: table structure size is inconsistent Error: passed size is not equal to expected size for SDDS_DATASET structure Passed size is 536, library size is 528 Could you advise on where this error comes from? Thanks, Yue