Skip to content

Element class

Vyacheslav Fedorov edited this page Dec 21, 2019 · 4 revisions

The Element class

Create accelerator element.

class kenv.Element(z0, max_field, file_name, name)


Parameters:

  • z0 (float) [m] - element center on the z axis.

  • max_field (float) - element maximum field.

  • file_name (string) - text file with field profile.

  • name (string) - element id.

  • z_start (float, after accelerator compile) [m] - start element.

  • z_stop (float, after accelerator compile) [m] - stop element.

  • length (float, after accelerator compile) [m] - length of element.

Clone this wiki locally