OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
PyParser.h
Go to the documentation of this file.
1#include <string>
2
3namespace PyOpal {
4namespace Field {
5std::string field_docstring =
6 "field module enables user to get the field at a point";
7
9 "Get the field value at a point in the field map.\n"
10 "\n"
11 "The field lookup is performed against the last RINGDEFINITION that was\n"
12 "instantiated. This should be instantiated by calling\n"
13 "pyopal.parser.initialise_from_opal_file\n"
14 "\n"
15 "Parameters\n"
16 "----------\n"
17 "x : float\n"
18 " x position [m]\n"
19 "y : float\n"
20 " y position [m]\n"
21 "z : float\n"
22 " z position [m]\n"
23 "t: float\n"
24 " time [ns]\n"
25 "\n"
26 "Returns\n"
27 "-------\n"
28 "The function returns a tuple containing 6 values:\n"
29 "out of bounds : int\n"
30 " 1 if the event was out of the field map boundary, else 0.\n"
31 "Bx : float\n"
32 " x magnetic field [T]\n"
33 "By : float\n"
34 " y magnetic field [T]\n"
35 "Bz : float\n"
36 " z magnetic field [T]\n"
37 "Ex : float\n"
38 " x electric field\n"
39 "Ey : float\n"
40 " y electric field\n"
41 "Ez : float\n"
42 " z electric field\n";
43
44}
45}
std::string field_docstring
Definition: PyField.h:7
std::string get_field_value_docstring
Definition: PyField.h:10
Definition: Field.h:33