PyPO User Manual
BindRefl.py File Reference

Bindings for the ctypes interface for PyPO. More...

Functions

def PyPO.BindRefl.loadRefllib ()
 Load the PyPOrefl shared library. More...
 
def PyPO.BindRefl.generateGrid (reflparams_py, transform=True, spheric=True)
 Double precision function for generating reflector grids. More...
 

Detailed Description

Bindings for the ctypes interface for PyPO.

These bindings are concerned with generation of reflector grids from dictionaries.

Function Documentation

◆ generateGrid()

def PyPO.BindRefl.generateGrid (   reflparams_py,
  transform = True,
  spheric = True 
)

Double precision function for generating reflector grids.

This is the function called by the CPU PyPO bindings. Also, when called from System, this is the binding that is called.

Parameters
reflparams_pyA reflDict dictionary.
transformWhether to generate the grid in nominal configuration or to apply transformation matrix.
sphericConvert Az-El co-ordinates to spherical (far-field only).
Returns
grids A reflGrids object.

◆ loadRefllib()

def PyPO.BindRefl.loadRefllib ( )

Load the PyPOrefl shared library.

Will detect the operating system and link the library accordingly.

Returns
lib The ctypes library containing the C/C++ functions.