The present changes modifies the PyAccel Elements' properties: t_in, t_out, r_in and r_out following the latest improvements in lnls-fac/trackcpp#71.
There are new classes T() and R() to handle the comunication between the trackcpp double* arrays (t_in, t_out, r_in and r_out) to python NumPy arrays. The main pourpose of these new classes is the modified __setitem__ magic-function, that calls the trackcpp-element auxiliary reflag functions.
The present changes modifies the PyAccel Elements' properties:
t_in
,t_out
,r_in
andr_out
following the latest improvements in lnls-fac/trackcpp#71.There are new classes
T()
andR()
to handle the comunication between the trackcppdouble*
arrays (t_in
,t_out
,r_in
andr_out
) to pythonNumPy
arrays. The main pourpose of these new classes is the modified__setitem__
magic-function, that calls the trackcpp-element auxiliary reflag functions.