PyPO User Manual
Structs.py File Reference

Definitions of data structures used in the ctypes interface. More...

Classes

class  PyPO.Structs.arrC1
 Two arrays representing a 1D complex array of double. More...
 
class  PyPO.Structs.arrR3
 Three arrays representing a 3D real array of double. More...
 
class  PyPO.Structs.c2Bundle
 Twelve arrays representing two 3D complex arrays of double. More...
 
class  PyPO.Structs.c4Bundle
 Twenty-four arrays representing four 3D complex arrays of double. More...
 
class  PyPO.Structs.c2rBundle
 Fifteen arrays representing two 3D complex arrays and one 3D real array of double. More...
 
class  PyPO.Structs.reflparams
 Reflectorparameters used by C++ backend, double precision. More...
 
class  PyPO.Structs.reflcontainer
 Container for realised reflector grids and normals in double precision. More...
 
class  PyPO.Structs.cframe
 Container for storing ray-trace frames. More...
 
class  PyPO.Structs.RTDict
 Parameters for initializing a tubular ray-trace frame. More...
 
class  PyPO.Structs.GRTDict
 Parameters for initializing a Gaussian ray-trace frame. More...
 
class  PyPO.Structs.GPODict
 Parameters for initializing a Gaussian PO beam. More...
 
class  PyPO.Structs.ScalarGPODict
 Parameters for initializing a scalar Gaussian PO beam. More...
 
class  PyPO.Structs.arrC1f
 Two arrays representing a 1D complex array of floats. More...
 
class  PyPO.Structs.arrR3f
 Three arrays representing a 3D array of floats. More...
 
class  PyPO.Structs.c2Bundlef
 
class  PyPO.Structs.c4Bundlef
 Twenty-four arrays representing four 3D complex arrays of float. More...
 
class  PyPO.Structs.c2rBundlef
 Fifteen arrays representing two 3D complex arrays and one 3D real array of float. More...
 
class  PyPO.Structs.reflparamsf
 Reflectorparameters used by C++ backend, single precision. More...
 
class  PyPO.Structs.reflcontainerf
 Container for realised reflector grids and normals in single precision. More...
 
class  PyPO.Structs.cframef
 Container for storing ray-trace frames. More...
 
class  PyPO.Structs.RTDictf
 Parameters for initializing a tubular ray-trace frame. More...
 
class  PyPO.Structs.GRTDictf
 Parameters for initializing a Gaussian ray-trace frame. More...
 
class  PyPO.Structs.GPODictf
 Parameters for initializing a Gaussian PO beam. More...
 
class  PyPO.Structs.ScalarGPODictf
 Parameters for initializing a scalar Gaussian PO beam. More...
 

Detailed Description

Definitions of data structures used in the ctypes interface.

The structures come in double format for CPU and single format for GPU. These defintions are only for passing structures from Python to the C/C++ backend.