Search found 84 matches

by Björklund
26 Mar 2021, 11:48
Forum: Linac Tracking
Topic: Unexpected values of effective aperture
Replies: 1
Views: 9186

Unexpected values of effective aperture

Hi, I'm currently doing some simple scans of the centroid angle of the beam going into a beamline, to get a feeling for the angular acceptance and where charge is lost (which I recently asked some questions about at https://www3.aps.anl.gov/forums/elegant/viewtopic.php?f=15&t=1157&p=4769#p4769 ). I ...
by Björklund
25 Mar 2021, 12:24
Forum: Parameter Scanning
Topic: Scanning parameters of a bunched_beam
Replies: 2
Views: 10622

Re: Scanning parameters of a bunched_beam

Hi Michael,

That is indeed such a simple solution that I'm looking for, thanks! :) I had totally missed that element.

EDIT:
Follow-up question: can I use the vary_element function to perform a 2D scan, of dxp and dyp in this case?

- Jonas
by Björklund
25 Mar 2021, 04:58
Forum: Parameter Scanning
Topic: Scanning parameters of a bunched_beam
Replies: 2
Views: 10622

Scanning parameters of a bunched_beam

Hi folks, Maybe there's something obvious I'm missing, but I haven't been able to find a way to automatize the scanning of parameters of a @bunched_beam the way you can scan for example the strength of a magnet with @vary_element; in my application I want to scan the angular centroids in x and y. Is...
by Björklund
30 Mar 2020, 13:43
Forum: Optimization and Matching
Topic: How does the ABSVALUE option in CLEAN work?
Replies: 3
Views: 8284

Re: How does the ABSVALUE option in CLEAN work?

Hi Michael! No worries! I realize now that I didn't fully ask the question I actually wanted; how does it work for time? I have used it successfully to remove particles with some particular transverse coordinates, but when I now try to use it to discriminate particles in time, it behaves strangely. ...
by Björklund
24 Mar 2020, 08:05
Forum: Optimization and Matching
Topic: How does the ABSVALUE option in CLEAN work?
Replies: 3
Views: 8284

How does the ABSVALUE option in CLEAN work?

Hi, Hopefully a simple enough question to answer: How does the ABSVALUE parameter in CLEAN elements work? I want to cut out part of the temporal distribution below/above some value for the purpose of optimizing on only a part of the full beam (I have two bunches in the same file and want to select o...
by Björklund
11 Feb 2020, 02:11
Forum: General
Topic: Elegant using Intel vs AMD CPUs
Replies: 2
Views: 1920

Re: Elegant using Intel vs AMD CPUs

Hi Nikita! It would be really cool if you could try it on the R5 3600, just check some quick scaling with number of threads! It's a good idea to pay for a compute instance, but I'm not very familiar with that kind of stuff and unfortunately don't really have the time to get into it right now. I will...
by Björklund
29 Jan 2020, 03:36
Forum: General
Topic: Elegant using Intel vs AMD CPUs
Replies: 2
Views: 1920

Elegant using Intel vs AMD CPUs

Hi! Not directly related to anything on a user level in the code, more something I've been wondering for a while, out of curiosity: Has anyone benchmarked Elegant (well, actually Pelegant) on any recent Intel and AMD CPUs? I don't know a whole ton on the topic of instruction sets, but I do know that...
by Björklund
19 Feb 2019, 08:41
Forum: Linac Tracking
Topic: Longitudinal phase-space curvature
Replies: 1
Views: 3794

Longitudinal phase-space curvature

Hi, I am looking at generating beams inside Elegant for test purposes. I want them to have a chirp, and I also want to be able to set specific curvatures, e.g. from the RF voltage, for a beam going into a compressor. I really can't figure out how to do this, and to me, it looks like it is not possib...
by Björklund
05 Dec 2018, 10:50
Forum: Bugs
Topic: Transfer matrices strongly dependent on element_divisions
Replies: 4
Views: 8390

Re: Transfer matrices strongly dependent on element_divisions

Hi, So, the specific terms I were looking at were U1666 and U2666, which changed with element_divisions, and which are just transverse. I looked at these matrix terms over an entire bunch compressor, which contains CSRCSBENDs, KQUADs, KSEXTs, KOCTs and EDRIFTs, so it's not a simple setup. I didn't c...
by Björklund
04 Dec 2018, 01:54
Forum: Bugs
Topic: Transfer matrices strongly dependent on element_divisions
Replies: 4
Views: 8390

Transfer matrices strongly dependent on element_divisions

Hi, I was optimizing some second- and third-order matrix terms and then did some tracking to confirm all the values after the optimizer had converged. I wanted to track with more element_divisions than 1 to get nicer plots. U1666 and U2666 specifically were about 2-3 orders of magnitude larger than ...