Wrapper for making a currents object.
More...
|
| def | __init__ (self, Jx, Jy, Jz, Mx, My, Mz) |
| | Constructor. More...
|
| |
| def | save (self, filename) |
| | Save a currents object to a numpy compressed arrays (.npz) file. More...
|
| |
| def | __init__ (self, *args, restype=None) |
| | Constructor. More...
|
| |
| def | setMeta (self, surf, k) |
| | Set EH/JM metadata. More...
|
| |
| def | __getitem__ (self, idx) |
| | Get EH/JM component. More...
|
| |
| def | __setitem__ (self, idx, item) |
| | Set EH/JM component. More...
|
| |
|
def | T (self) |
| | Transpose of own fields/currents.
|
| |
|
def | H (self) |
| | Complex conjugate (Hermitian) transpose of own fields/currents.
|
| |
|
|
| type |
| |
|
| memlist |
| |
|
| shape |
| |
|
| size |
| |
|
| surf |
| |
|
| k |
| |
Wrapper for making a currents object.
◆ __init__()
| def PyPO.PyPOTypes.currents.__init__ |
( |
|
self, |
|
|
|
Jx, |
|
|
|
Jy, |
|
|
|
Jz, |
|
|
|
Mx, |
|
|
|
My, |
|
|
|
Mz |
|
) |
| |
Constructor.
Takes JM components and assigns them to member variables.
- Parameters
-
| Jx | J-current x-component. |
| Jy | J-current y-component. |
| Jz | J-current z-component. |
| Mx | M-current x-component. |
| My | M-current y-component. |
| Mz | M-current z-component. |
◆ save()
| def PyPO.PyPOTypes.currents.save |
( |
|
self, |
|
|
|
filename |
|
) |
| |
Save a currents object to a numpy compressed arrays (.npz) file.
- Parameters
-
| filename | The path and name of the file to save to. |
The documentation for this class was generated from the following file: