ChristopherMayes / PyCSR3D

3D Coherent Synchrotron Radiation
Apache License 2.0
8 stars 1 forks source link

CSR effect for chicane #2

Open dmargarone opened 5 months ago

dmargarone commented 5 months ago

Hi,

Is it possible to use this code for C-type chicane and computing CSR effect ?

Thanks, Daniela

ChristopherMayes commented 5 months ago

The code is only for the steady-state calculation. That is, it takes some distance for such a wake to build up inside any magnet. With that understanding, you could use this in conjunction with tracking functions. We have done something similar to this in https://napac2022.vrws.de/papers/wepa04.pdf.

dmargarone commented 5 months ago

Hi @ChristopherMayes, is there any example file in the context of "chicane" ?

ChristopherMayes commented 5 months ago

That code did implement a chicane, but no, there are no examples for PyCSR3D.

You might be interested in https://github.com/jy-tang/pyDFCSR for a different method that also does tracking.