Comments (6)
Anybody willing to do something about that ? Or shall I do it ?
from at.
I think @lcarver said he would do it, but most likely not for matlab...
from at.
Fine. Apart from naming, better being done before the function gets widely used, all my other suggestions are neither critical nor urgent, just ideas!
For Matlab, same: not urgent, I might do it some time later…
from at.
Sorry, I was off yesterday. I will do it for your first 2 points. But yes, I will not do the MATLAB! Although I am not sure of the following point:
"one could even accept a Σ-matrix, which can replace alpha*, beta*, emit*, sigma_dp*.`"
This is not clear to me.
from at.
This is not clear to me.
The Σ-matrix (beam matrix as returned by ohmienvelope
, for instance) contains all the optics and emittance information. So, with Σ and tunes, you can get the M66 matrix and the emittances. Adding the damping times, you have everything.
Here, since the longitudinal motion is treated apart, I think we should use a 4D twiss_in
input, generate a 4x4 transfer map and add the 44, 45, 54 and 55 terms as you do it now.
So to start from the R matrix in twiss_in
, the easiest is first to build Σ = ε1.R1 + ε2.R2, then use a_matrix
to get the A matrix, use the tunes to generate the rotation matrix S and finally build M44 = A.S.A-1
If starting directly from Σ, a_matrix
will also return the needed emittances.
from at.
fixed in #655
from at.
Related Issues (20)
- B0 added twice in exactkickrad HOT 2
- python: ringparam not well identified by lattice_load HOT 6
- bug is saving lattice HOT 4
- Bug: atwiggler HOT 13
- problem with display of correctly initialised VariableMultipole element HOT 1
- Change Legend Labels for plot_trajectory() function HOT 12
- fast_ring when having harmonic cavities in the lattice HOT 4
- AT_2_Elegant uses deprecated N_KICKS
- Factor 4 missing in Touschek scattering B2 expression HOT 5
- pyAT Error when calculating damping ring HOT 3
- Rotation of dipoles HOT 18
- matlab atlinopt4 check on 6d is disabled
- Severe bug introduced by #766 HOT 2
- Bug in Lattice.avlinopt HOT 7
- ring.get_lifetime fails if list of reference indexes has only one valid element HOT 1
- Compilation error when building from repository HOT 27
- VariableMultipole Usage HOT 7
- Inherited fields don't exist unless first explictly set HOT 2
- Whether there are macroparticles in AT? HOT 4
- Default pass method in atthinmultipole
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from at.