![]() |
The Open FUSION Toolkit 1.0.0-beta7
An open-source framework for fusion and plasma science and engineering
|
I-coil class for defining current-driven coils in OpenFUSIONToolkit.
Public Member Functions | |
| __init__ (self, name, sens_mask=False) | |
| Initialize I-coil. | |
| add_subcoil (self, RZ=None, pts=None, scale=None, npoints=None) | |
| Add a subcoil to this I-coil set. | |
| build_XML (self, parent_tag) | |
| Build XML structure for this I-coil. | |
Public Attributes | |
| name = name | |
| sens_mask = sens_mask | |
| list | subcoils = [] |
| __init__ | ( | self, | |
| name, | |||
| sens_mask = False ) |
Initialize I-coil.
| name | string, name of the coil set |
| sens_mask | bool or array, sensitivity mask for coil points |
| add_subcoil | ( | self, | |
| RZ = None, | |||
| pts = None, | |||
| scale = None, | |||
| npoints = None ) |
Add a subcoil to this I-coil set.
| RZ | array of [R, Z] positions (for non-custom coils) |
| pts | array of [x, y, z] positions (for custom coils) |
| scale | float, scaling factor for coil current (None if not specified) |
| npoints | int, number of points (for custom coils) |
| build_XML | ( | self, | |
| parent_tag ) |
Build XML structure for this I-coil.
| parent_tag | ET.Element, parent XML element to attach to |
| name = name |
| sens_mask = sens_mask |
| list subcoils = [] |