38 namespace PyScalingFFAMagnet {
41 "scaling_ffa_magnet contains the ScalingFFAMagnet class";
63 "ScalingFFAMagnet class is a field element that models a Scaling FFA magnet.";
66 "Check for changes to the EndFieldModel and update the ScalingFFAMagnet appropriately.\n"
67 "This is done automatically the first time the ScalingFFAMagnet is used but not for\n"
68 "subsequent uses. WARNING: if user changes the end field model, user must call\n"
69 "'update_end_field' manually to load the new parameters.\n"
71 "May throw RuntimeError if the EndFieldModel is not valid or cannot be found.\n"
const char * module_docstring
BOOST_PYTHON_MODULE(scaling_ffa_magnet)
void registerExceptions()
boost::python::class_< PyC > make_element_class(const char *className)
std::string update_docstr
void addGetFieldValue(PYCLASS &pyclass, double distanceUnits, double timeUnits, double bfieldUnits, double efieldUnits)
constexpr double e
The value of .
item[EANGLE] Entrance edge counterclockwise This enables to obtain skew at each point along the magnet