Wrapper for making a fields object.
More...
|
| def | __init__ (self, Ex, Ey, Ez, Hx, Hy, Hz) |
| | Constructor. More...
|
| |
| def | save (self, filename) |
| | Save a field 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 fields object.
◆ __init__()
| def PyPO.PyPOTypes.fields.__init__ |
( |
|
self, |
|
|
|
Ex, |
|
|
|
Ey, |
|
|
|
Ez, |
|
|
|
Hx, |
|
|
|
Hy, |
|
|
|
Hz |
|
) |
| |
Constructor.
Takes JM components and assigns them to member variables.
- Parameters
-
| Ex | E-field x-component. |
| Ey | E-field y-component. |
| Ez | E-field z-component. |
| Hx | H-field x-component. |
| Hy | H-field y-component. |
| Hz | H-field z-component. |
◆ save()
| def PyPO.PyPOTypes.fields.save |
( |
|
self, |
|
|
|
filename |
|
) |
| |
Save a field 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: