Search found 15 matches

by PCaminal
27 Aug 2019, 10:26
Forum: Installation
Topic: sdds for python3.5
Replies: 17
Views: 26475

Re: sdds for python3.5

Hi Soliday, sorry for the late answer, I didn't see that you just answered right away... Your example also worked for me when doing it in the pure python3 console :-), but it doesn't work when running it in the ipython3 (which is what I am using the most). It happens the same with the scripts and cl...
by PCaminal
23 Aug 2019, 08:49
Forum: Installation
Topic: sdds for python3.5
Replies: 17
Views: 26475

Re: sdds for python3.5

Hi Soliday, I have not been using the sdds module for python for a while. During this time I have installed new packages (PyQt5 and pyqtgraph, among others...). On top of that, I have upgraded to Ubuntu 18.04 and I am using python3.6 (which it shouldn't cause any trouble, I think...). Then, when I r...
by PCaminal
16 Nov 2018, 05:59
Forum: Linac Tracking
Topic: RFDF basic question
Replies: 3
Views: 4434

Re: RFDF basic question

Hi, in case this helps: I printed the individual matrices of the TDS as a single element and as two elements of half the total length. My understanding is that the product of the two matrices with half the length should result in the same matrix as the one for the TDS as a single element... but tha...
by PCaminal
15 Nov 2018, 05:54
Forum: Linac Tracking
Topic: RFDF basic question
Replies: 3
Views: 4434

Re: RFDF basic question

Hi again, I forgot to mention that the result obtained with a "single element" RFDF agrees with the analytically calculated Streak parameter and time resolution, for instance: Streak = sqrt{beta_at_TDS*beta_at_SCREEN}*e*V*k/E , Res_z = bs_SCREEN/Streak Res_t = Res_z/c where: beta_at_TDS = beta in th...
by PCaminal
14 Nov 2018, 21:15
Forum: Linac Tracking
Topic: RFDF basic question
Replies: 3
Views: 4434

RFDF basic question

Hi, I'm implementing a RFDF element in a diagnostics section beamline. For optimization purposes the structure was divided into two pieces (of half the total length each) in order to put a marker in between. Now, when I simulate a typical time calibration that one would perform experimentally with a...
by PCaminal
06 Nov 2018, 19:50
Forum: Bugs
Topic: CSRDRIFT: problem with stored parameter file when element_divisions > 1
Replies: 2
Views: 7881

Re: CSRDRIFT: problem with stored parameter file when element_divisions > 1

Hi Michael,
good to know. Thanks a lot for the very fast answer! :)
Best regards,
Pau
by PCaminal
06 Nov 2018, 14:48
Forum: Bugs
Topic: CSRDRIFT: problem with stored parameter file when element_divisions > 1
Replies: 2
Views: 7881

CSRDRIFT: problem with stored parameter file when element_divisions > 1

Hi, I am using Elegant version 34.4.1 (Oct 18 2018). I have a lattice including several CSRDRIFTs and I just realised that when element_divisions is set to some N > 1, the length of the drift is stored as the "original length"/N in the parameter file given in the run_setup namespace. I am doing some...
by PCaminal
08 Aug 2018, 08:13
Forum: Installation
Topic: sdds for python3.5
Replies: 17
Views: 26475

Re: sdds for python3.5

So easy was that! Yes, just copying the sdds files into the default anaconda folder worked out.
Thanks a lot!
Cheers,
Pau
by PCaminal
07 Aug 2018, 07:33
Forum: Installation
Topic: sdds for python3.5
Replies: 17
Views: 26475

Re: sdds for python3.5

Hi again Soliday, I have to upgrade to python3.6 (with anaconda... :? ) and I am trying to use the same file you prepared for python3.5 in this thread. However, after installation, Python3.6 does not recognize the sdds module. I am just installing the .rpm file with "sudo alien -i SDDSPython3-3.2-1....
by PCaminal
10 Apr 2018, 07:42
Forum: Parameter Scanning
Topic: Scan parameters with a sdds_bunch
Replies: 1
Views: 13387

Scan parameters with a sdds_bunch

Hi cyao, michael_borland, all, I am working with a sdds_bunch generated with a particle in cell (PIC) code for plasma acceleration with external injection and I want to propagate it through a diagnostics beamline. 1st QUESTION: instead of using the bunched_beam namelist command I am using sdds_beam ...