## Search found 41 matches

07 May 2020, 00:16
Forum: Ring Tracking
Topic: Higher order dispersion
Replies: 1
Views: 800

### Higher order dispersion

Hi Michael, In the twi file elegant outputs etax2 and etax3 at the starting point only. Elegant must have calculated these quantities internally at every point. Is it possible to output the values at the fitpoints? I could obtain these functions from the off-momentum closed-orbit, but it would be a ...
09 Mar 2020, 19:41
Forum: Optimization and Matching
Topic: problem when optimizing phase advance
Replies: 9
Views: 14610

### Re: problem when optimizing phase advance

In order to constrain the phase advance, here is the syntax if marker 1 preceds marker 2:

"Mark#2.psix Mark#1.psix - 0.5 0.1 segt"

It seems to me you have missed a minus operator after the second psix.

Weiming
14 Jun 2019, 15:25
Forum: Optimization and Matching
Topic: Opertimization other than element parameters
Replies: 1
Views: 5687

### Opertimization other than element parameters

Hi Michael, Is there a way to optimize free parameters other than element parameters? For example, in the lte file ... 1.0 sto K1f1 2.0 sto K1f2 Q1: QUAD, L=0.2, K1=K1f1*0.8+K1f2*K1f2*0.02 ... Instead of using K1 of Q1 as optimization variables, I would like to vary K1f1 and K1f2. Is it possible to ...
04 Apr 2019, 14:15
Forum: Feature Requests
Topic: Plot the lattce layout
Replies: 3
Views: 10133

### Re: Plot the lattce layout

Michael, It is the Turtle graphics package, so the numpy-turtle (0.1) - Turtle graphics with NumPy should work. I had to run the following two commands to get the packages: sudo apt-get install python-tk and sudo apt-get install python3-tk Turtle should come with tkinter. By the way, plring is a sma...
03 Apr 2019, 17:41
Forum: Feature Requests
Topic: Plot the lattce layout
Replies: 3
Views: 10133

### Plot the lattce layout

Hi Michael, Is there an sdds tool to plot the lattice layout? I wrote a preliminary script in python(attached), but it would be nice to have one compatible with sdds. To run the attached script, python must be installed as well as the required packages. It takes input from two files: fr.flr and fr.p...
18 Apr 2017, 10:56
Forum: Dynamic Aperture
Topic: High-resolution dynamic aperture
Replies: 11
Views: 62071

### Re: High-resolution dynamic aperture

I couldn't find my files, however, you could define your dipole magnet as follows. M1: MULT, KNL=1000,ORDER=4 B1: CSBEND,L=2,ANGLE=0.2 B1C: LINE=(M1,B1,M1) Or, you could define multipole components in a CSBEND, such as: B1: CSBEND,L=2.62,ANGLE=0.10471975511966,K1=-2.783243054167499e-05,& K2=0.013512...
28 Oct 2016, 15:50
Forum: Feature Requests
Topic: sddspseudoinverse
Replies: 0
Views: 11766

### sddspseudoinverse

Hi Michael,

Is Tikhonov regularization implemented in sddspseudoinverse?

Weiming
01 Jul 2016, 22:18
Forum: Ring Tracking
Topic: Turn-by-turn data output
Replies: 2
Views: 3774

### Re: Turn-by-turn data output

Michael,
Thanks for the quick reply!
Weiming
01 Jul 2016, 16:02
Forum: Ring Tracking
Topic: Turn-by-turn data output
Replies: 2
Views: 3774

### Turn-by-turn data output

I am trying to output turn-by-turn data at BPMs from Elegant multi-pass tracking. I added the following two inputs in the run_setup: centroid=test.cen wrap_around=0 However Elegant outputs the centroid information at every element and tracking becomes very slow. Is there a faster way to output the p...
23 Oct 2015, 10:08
Forum: General
Topic: sddsnaff at fixed frequency
Replies: 2
Views: 1475

### Re: sddsnaff at fixed frequency

Yes. Sddsnaff gives slightly different frequencies for N signals. It is critical if the phase is a concern.
I could do a simple FFT myself since the frequency is given, however, I trust sddsnaff to be more reliable in case there is only a small number of turns.

Weiming