PyPO User Manual
BindTransf.py File Reference

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

Functions

def PyPO.BindTransf.loadTransflib ()
 Load the pypotransf shared library. More...
 
def PyPO.BindTransf.transformRays (fr)
 Transform a frame of rays. More...
 
def PyPO.BindTransf.transformPO (obj, transf)
 Transform a frame of rays. More...
 

Detailed Description

Bindings for the ctypes interface for PyPO.

These bindings are concerned with transforming frame and fields/currents.

Function Documentation

◆ loadTransflib()

def PyPO.BindTransf.loadTransflib ( )

Load the pypotransf shared library.

Will detect the operating system and link the library accordingly.

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

◆ transformPO()

def PyPO.BindTransf.transformPO (   obj,
  transf 
)

Transform a frame of rays.

Parameters
frA frame object.
See also
frame

◆ transformRays()

def PyPO.BindTransf.transformRays (   fr)

Transform a frame of rays.

Parameters
frA frame object.
See also
frame