[Haskell-beginners] haskell + python numpy

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Sat Mar 19 11:47:47 UTC 2016


Hello,

I would like to use some python code in order to do my computation with haskell.
The idea is to use python and all it's numrical stack in some places, until I find the time to replace the python code by some haskell code.

what I will do is 

read the data from hdf5 with bindings-hdf5 in haskell
obtain a Storable for all my data images
then I would like to create a python object which will use these data in order to generate in return another array.

get back this array and put it into another hdf5 file.

Indeed I want to do this with the pipes library.

I would like to know if someone have some code examples for this kind of use case.

interfacing haskell with python numpy object back and forth.

thanks for your help

Frederic


More information about the Beginners mailing list