Search found 10 matches
- 13 Jan 2023, 05:00
- Forum: Optimization and Matching
- Topic: geneticoptimizer example
- Replies: 1
- Views: 90
Re: geneticoptimizer example
I need help for how to change column value and parameter value in optim1.sdds. Personally, I've been using Java SDDS Editor on Windows for that purpose. I guess one could convert sdds file to plain datafile, change something and convert the file back using plaindata2sdds and sdds2plaindata programs...
- 13 Jan 2023, 04:21
- Forum: General
- Topic: Example of generating user defined histogram for touschek_scatter
- Replies: 0
- Views: 40
Example of generating user defined histogram for touschek_scatter
Hi!
Could someone show me how to generate user defined 6D histogram for touschek_scatter using MHISTOGRAM elements? Having difficulties figuring this out.
Could someone show me how to generate user defined 6D histogram for touschek_scatter using MHISTOGRAM elements? Having difficulties figuring this out.
- 03 Jan 2023, 02:33
- Forum: Bugs
- Topic: Impossible to set ignored_portion less than 1e-5 in touschek_scatter function
- Replies: 0
- Views: 102
Impossible to set ignored_portion less than 1e-5 in touschek_scatter function
Found out that if one will set ignored_portion in touschek_scatter less than 1e-5 (1e-6, for example), all simulated particles will be put to tracking, as if ignored_portion were 0.
UPD: elegant 2022.2.0, Nov 15 2022 on Windows was tested.
UPD: elegant 2022.2.0, Nov 15 2022 on Windows was tested.
- 19 Sep 2022, 02:59
- Forum: Ring Tracking
- Topic: Setting CWIGGLER
- Replies: 8
- Views: 3705
Re: Setting CWIGGLER
If you set it STEPS_PER_PERIOD=12 instead, things should be ok. I'll change the code to enforce that. Thank you for the reply. By the way, I added the ability to subdivide CWIGGLER elements in the last version. That's great! How can I use this ability? Haven't found a description in user guide.
- 18 Jul 2022, 01:13
- Forum: Ring Tracking
- Topic: Setting CWIGGLER
- Replies: 8
- Views: 3705
Re: Setting CWIGGLER
I'm using elegant 2022.1.0, Jul 1 2022. Is model have odd number of poles? I can see that in output. Is it possible to have an option of setting an even number of poles in the future? Something is wrong with vertical field distribution at the end of the end pole. If POLE1_FACTOR is less than 0.35 th...
- 27 Jun 2022, 05:25
- Forum: Ring Tracking
- Topic: Setting CWIGGLER
- Replies: 8
- Views: 3705
Re: Setting CWIGGLER
Is it possible to also add some simple division of CWIGGLER? I understand that it is more difficult to do, than for CSBEND, but is it possible to divide CWIGGLER at least by the number of poles/periods?
Can you propose temporary solution for division of helical CWIGGLER ?
Can you propose temporary solution for division of helical CWIGGLER ?
- 05 Jun 2022, 22:26
- Forum: General
- Topic: makeWigglerFromBends script on Windows
- Replies: 2
- Views: 2303
Re: makeWigglerFromBends script on Windows
Thanks!
Had to download ActiveTcl and OAG Tcl/TK. But there was oagtclsh error when I tried to run script. So I copied tclsh.exe to oagtclsh.exe and it worked.
Had to download ActiveTcl and OAG Tcl/TK. But there was oagtclsh error when I tried to run script. So I copied tclsh.exe to oagtclsh.exe and it worked.
- 03 Jun 2022, 03:28
- Forum: Momentum Aperture
- Topic: Discrepancy between momentum aperture and Touschek
- Replies: 3
- Views: 3104
Re: Discrepancy between momentum aperture and Touschek
Michael,
I have reproduced the problem mentioned above by Anton with different lattice. Maybe the problem is in touschekLifetime program?
Here is version of the program I am using on Windows:
I have reproduced the problem mentioned above by Anton with different lattice. Maybe the problem is in touschekLifetime program?
Here is version of the program I am using on Windows:
Code: Select all
Program by A. Xiao, M. Borland. (This is version 8, March 2017, M. Borland)
- 03 Jun 2022, 00:14
- Forum: General
- Topic: makeWigglerFromBends script on Windows
- Replies: 2
- Views: 2303
makeWigglerFromBends script on Windows
Hello! I noticed that CWIGGLER element cannot be divided. Because of that, twiss_output command is not computing Twiss parameters in the center of a wiggler. So I looked for a simple way of setting up wiggler with bend magnets and found mentions of makeWigglerFromBends script designed to do just wha...
- 19 May 2022, 20:18
- Forum: Ring Tracking
- Topic: Setting CWIGGLER
- Replies: 8
- Views: 3705
Setting CWIGGLER
Hello! I need to set up helical wiggler with following distribution of magnetic field. How can I achieve this? I've tried doing that like this CWIGGLER, L=4.864, BX_MAX=0.1, BY_MAX=0.49, PERIODS=23, SINUSOIDAL=1, HELICAL=1, FIELD_OUTPUT= "EU6.sdds",FORCE_MATCHED=0,DZ=0.07 but there is a problem with...