class MagnetiCalc_Data(MutableMapping):
Method | __delitem__ |
Undocumented |
Method | __getitem__ |
Undocumented |
Method | __init__ |
Initializes MagnetiCalc_Data class. |
Method | __iter__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | __setitem__ |
Undocumented |
Method | get_a_field |
Gets the A-field components as three separate 1D arrays (raveled). Please refer to get_field() for possible arguments. |
Method | get_a_field_list |
Gets the A-field components as a single list of 3D points (raveled). Please refer to get_field() for possible arguments. |
Method | get_axes |
Gets the sampling volume axes as three separate 1D arrays (raveled). |
Method | get_axes_list |
Gets the sampling volume axes as a single list of 3D points (raveled). |
Method | get_b_field |
Gets the B-field components. Please refer to get_field() for possible arguments. |
Method | get_b_field_list |
Gets the B-field components as a single list of 3D points (raveled). Please refer to get_field() for possible arguments. |
Method | get_current |
Gets the wire current. |
Method | get_dimension |
Gets the sampling volume dimension. |
Method | get_field |
Gets the field as three separate 1D arrays (raveled). |
Method | get_wire |
Gets the wire points as three separate 1D arrays (raveled). |
Method | get_wire_list |
Gets the wire points as a single list of 3D points (raveled). |
Instance Variable | dictionary |
Undocumented |
Method | _get_fields |
Gets the raw "fields" dictionary from the data. |
Method | _keytransform |
Undocumented |
Initializes MagnetiCalc_Data class.
This object can be accessed like a dictionary to get the data from an HDF5 export.
Moreover, it provides convenience functions for accessing reshaped or transformed copies of this data.
Parameters | |
data:Dict | Dictionary |
get_field()
for possible arguments.Returns | |
Tuple[ | A_x, A_y, A_z |
get_field()
for possible arguments.Returns | |
List | List |
Parameters | |
reduce:bool | Enable to reduce each raveled array to its minimal representation (axis ticks) |
Returns | |
Tuple[ | x, y, z |
Returns | |
List | List |
get_field()
for possible arguments.Returns | |
Tuple[ | B_x, B_y, B_z |
get_field()
for possible arguments.Returns | |
List | List |
Parameters | |
field_type:str | Field type ("A" or "B") |
as_3d:bool | Enable to transform each raveled 1D array into an unraveled 3D mesh (indexed by the minimal axes) |
Returns | |
Tuple[ | Undocumented |
Returns | |
Tuple[ | x, y, z |