if you look at the cython docs http://docs.cython.org/src/userguide/source_files_and_compilation.html On Tue, Mar 11, 2014 at 2:16 PM, Ronnie Ghose <ronnie.ghose@gmail.com>wrote:
pyximport is part of cython - it calls the pyx automatically
On Tue, Mar 11, 2014 at 2:09 PM, Reza Azodinia < mohammad.reza.azodinia@gmail.com> wrote:
Dear Tony, Look at this line of the code (line 16):
from . import _ctmf
Here the ctmf.py code has imported the _ctmf.py (not the _ctmf.pyx). I am about to see the content of _ctmf.py in order to be able to get some inspiration for the code which I have developed. So anyway to get _ctmf.py?
Reza
On Tuesday, March 11, 2014 5:53:04 PM UTC+1, Tony S Yu wrote:
On Tue, Mar 11, 2014 at 6:36 AM, Reza Azodinia <mohammad.re...@gmail.com
wrote:
We have developed some ctmf code and would like to compare it with other ctmf codes in python, both time-wise and code-wise. We tried to go over the ctmf code of scikits-image package but we could not find _ctmf.py file.
Any help would be appreciated.
Hi Reza,
There are actually two files: A Python wrapper and the main Cython code:
https://github.com/scikit-image/scikit-image/blob/ master/skimage/filter/ctmf.py https://github.com/scikit-image/scikit-image/blob/ master/skimage/filter/_ctmf.pyx
Cheers, -Tony
-- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
participants (1)
-
Ronnie Ghose