Structure for storing reflector grids, area and normals.
More...
|
| def | __init__ (self, x, y, z, nx, ny, nz, area) |
| | Constructor. More...
|
| |
| def | save (self, filename) |
| | Save a grid object to a numpy compressed arrays (.npz) file. More...
|
| |
Structure for storing reflector grids, area and normals.
◆ __init__()
| def PyPO.PyPOTypes.reflGrids.__init__ |
( |
|
self, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z, |
|
|
|
nx, |
|
|
|
ny, |
|
|
|
nz, |
|
|
|
area |
|
) |
| |
Constructor.
Takes grid points, normals and area elements and stores them.
- Parameters
-
| x | The x-components of the points making up the grid. |
| y | The y-components of the points making up the grid. |
| z | The z-components of the points making up the grid. |
| nx | The x-components of the normals to the grid. |
| ny | The y-components of the normals to the grid. |
| nz | The z-components of the normals to the grid. |
| area | The area elements of the grid. |
◆ save()
| def PyPO.PyPOTypes.reflGrids.save |
( |
|
self, |
|
|
|
filename |
|
) |
| |
Save a grid 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: