cython setup imc_termite pytho module
This commit is contained in:
18
cython/imc_termite.pxd
Normal file
18
cython/imc_termite.pxd
Normal file
@@ -0,0 +1,18 @@
|
||||
# cython: language_level = 3
|
||||
|
||||
# use some C++ STL libraries
|
||||
from libcpp.string cimport string
|
||||
from libcpp.vector cimport vector
|
||||
from libcpp cimport bool
|
||||
|
||||
cdef extern from "imc_raw.hpp" namespace "imc":
|
||||
cdef cppclass imc_termite "imc::raw":
|
||||
# constructor(s)
|
||||
imc_termite() except +
|
||||
imc_termite(string rawfile) except +
|
||||
# provide raw file
|
||||
void submit_file(string rawfile) except+
|
||||
# get JSON list of channels
|
||||
vector[string] get_channels() except+
|
||||
# print all channels
|
||||
void print_channels(string outputdir) except+
|
Reference in New Issue
Block a user