1#include <boost/python.hpp>
8 "field module enables user to get the field at a point";
11 "Get the field value at a point in the field map.\n"
13 "The field lookup is performed against the last RINGDEFINITION that was\n"
14 "instantiated. This should be instantiated by calling\n"
15 "pyopal.parser.initialise_from_opal_file\n"
30 "The function returns a tuple containing 6 values:\n"
31 "out of bounds : int\n"
32 " 1 if the event was out of the field map boundary, else 0.\n"
34 " x magnetic field [T]\n"
36 " y magnetic field [T]\n"
38 " z magnetic field [T]\n"
44 " z electric field\n";
std::string field_docstring
py::object get_field_value(double x, double y, double z, double t)
std::string get_field_value_docstring