Hello wim,
Thanks for your answer.
Indeed, passing a numpy.array to a C function such as TH1D::FillN(int, double* double*) works. I’m actually using this in my scripts.
But I could not reverse the procedure. The numpy.array constructor doesn’t take size as argument : doing something like
c_pointer_object = giveArray(10)
a = numpy.array(c_pointer_object)
crashes python (the contrary would have surprised me). I was wandering if there are known workaround …
P.A.