dicengine / dice

Digital Image Correlation Engine (DICe): a stereo DIC application that runs on Mac, Windows, and Linux
Other
350 stars 126 forks source link

Is Python package available for dice? #99

Open SeismoNDT opened 5 years ago

SeismoNDT commented 5 years ago

This is an awesome package. Unfortunately, I am not an expert in C++. I am wondering if there is a python version for this package? Thank you very much.

dicengine commented 5 years ago

We don't currently have a python wrapper for DICe, but I agree it would be helpful. What sorts of things did you have in mind for how you would use it or what features you would be looking for?

SeismoNDT commented 5 years ago

You package is very helpful in app development. Currently, I am trying to include DIC analysis in my software, which is written in python. However, the core is written in FORTRAN (to speed up calculation). If there is a python version, this job can be done easily. Thanks for your answers.

SeismoNDT commented 5 years ago

For fortran language to be used in python, it is quite easy (simply using f2py to write the interface as a form a external library). For c++, cython can be used to automatically write the interface. After this, you simply just import the interface (library) in python file. In this way, you do not even need paraview for plotting figures.