Workaround frameCPP not picking up numpy headers
This PR adds a workaround to failures when frameCPP fails to find the numpy/arrayobject.h headers. In this case FrVect.GetDataArray() just returns a raw buffer so we need to convert into an ndarray by hand.
This PR adds the following:
-
FrVect->numpytype mappingdict -
isinstancecheck for output ofGetDataArrayand subsequent call tonumpy.frombuffer