#include <Python.h>
#include "numpy/arrayobject.h"
#include <vector>
#include "flashmatch/Base/OpT0FinderTypes.h"
#include "flashmatch/GeoAlgo/GeoTrajectory.h"
Go to the source code of this file.
Namespaces | |
flashmatch | |
Macros | |
#define | NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION |
Typedefs | |
typedef _object | PyObject |
Functions | |
void | flashmatch::SetPyUtil () |
Utility function: call one-time-only numpy module initialization (you don't have to call) More... | |
PyObject * | flashmatch::as_ndarray (const QCluster_t &traj) |
PyObject * | flashmatch::as_ndarray (const Flash_t &flash) |
PyObject * | flashmatch::as_ndarray (const ::geoalgo::Trajectory &traj) |
template<class T > | |
PyObject * | flashmatch::_as_ndarray (const std::vector< T > &data) |
convert vectors into np array More... | |
PyObject * | flashmatch::as_ndarray (const std::vector< short > &vec) |
PyObject * | flashmatch::as_ndarray (const std::vector< unsigned short > &vec) |
PyObject * | flashmatch::as_ndarray (const std::vector< int > &vec) |
PyObject * | flashmatch::as_ndarray (const std::vector< unsigned int > &vec) |
PyObject * | flashmatch::as_ndarray (const std::vector< long long > &vec) |
PyObject * | flashmatch::as_ndarray (const std::vector< unsigned long long > &vec) |
PyObject * | flashmatch::as_ndarray (const std::vector< float > &vec) |
PyObject * | flashmatch::as_ndarray (const std::vector< double > &vec) |
template<class T > | |
void | flashmatch::_copy_array (PyObject *arrayin, const std::vector< T > &cvec) |
copy array More... | |
void | flashmatch::copy_array (PyObject *arrayin, const std::vector< unsigned short > &cvec) |
void | flashmatch::copy_array (PyObject *arrayin, const std::vector< unsigned int > &cvec) |
void | flashmatch::copy_array (PyObject *arrayin, const std::vector< short > &cvec) |
void | flashmatch::copy_array (PyObject *arrayin, const std::vector< int > &cvec) |
void | flashmatch::copy_array (PyObject *arrayin, const std::vector< long long > &cvec) |
void | flashmatch::copy_array (PyObject *arrayin, const std::vector< float > &cvec) |
void | flashmatch::copy_array (PyObject *arrayin, const std::vector< double > &cvec) |
template<class T > | |
int | flashmatch::ctype_to_numpy () |
template<> | |
int | flashmatch::ctype_to_numpy< short > () |
template<> | |
int | flashmatch::ctype_to_numpy< unsigned short > () |
template<> | |
int | flashmatch::ctype_to_numpy< int > () |
template<> | |
int | flashmatch::ctype_to_numpy< unsigned int > () |
template<> | |
int | flashmatch::ctype_to_numpy< long long > () |
template<> | |
int | flashmatch::ctype_to_numpy< unsigned long long > () |
template<> | |
int | flashmatch::ctype_to_numpy< float > () |
template<> | |
int | flashmatch::ctype_to_numpy< double > () |
template<class T > | |
PyObject * | flashmatch::numpy_array (std::vector< size_t > dims) |