Re: [Numpy-discussion] State-of-the-art to use a C/C++ library from Python

2016-09-02 Thread Thiago Franco Moraes
I think you can use ffi.from_buffer and ffi.cast from cffi. On Fri, Sep 2, 2016 at 8:53 AM Carl Kleffner wrote: > fork / extension of cffiwrap: > > > *"cfficloak - A simple but flexible module for creating object-oriented, > pythonic CFFI wrappers.This is an extension of

[Numpy-discussion] Research position in the Brazilian Research Institute for Science and Neurotechnology - BRAINN

2015-04-08 Thread Thiago Franco Moraes
Research position in the Brazilian Research Institute for Science and Neurotechnology – BRAINN Postdoc researcher to work with software development for medical imaging The Brazilian Research Institute for Neuroscience and Neurotechnology (BRAINN) (www.brainn.org.br) focuses on the investigation

[Numpy-discussion] Research position in the Brazilian Research Institute for Science and Neurotechnology – BRAINN

2014-07-22 Thread Thiago Franco Moraes
*Research position in the Brazilian Research Institute for Science and Neurotechnology – BRAINN Postdoc researcher to work with software development for medical imaging* The Brazilian Research Institute for Neuroscience and Neurotechnology (BRAINN) (www.brainn.org.br) focuses on the investigation

Re: [Numpy-discussion] question about scipy superpack

2012-08-07 Thread Thiago Franco Moraes
A little off-topic, but related: Which python version do you recommend to install in Mac OS X 10.8? The native one? The one from python.org? or the one compiled via homebrew? And do you think it's better to use the 32 or 64 bits? Thanks! On Tue, Aug 7, 2012 at 12:35 PM, Chris Barker

Re: [Numpy-discussion] Calculating density based on distance

2012-01-14 Thread Thiago Franco Moraes
No dia Sábado, 14 de Janeiro de 2012, Benjamin rootben.r...@ou.edu escreveu: On Saturday, January 14, 2012, Thiago Franco de Moraes totonixs...@gmail.com wrote: Hi all, I have the following problem: Given a array with dimension Nx3, where N is generally greater than 1.000.000, for each

[Numpy-discussion] Smoothing binary volumes

2011-09-06 Thread Thiago Franco Moraes
Hi all, I've been implementing the algorithm from this paper Reducing Aliasing Artifacts in Iso-Surfaces of Binary Volumes from Ross T. Whitaker. Because I develop a opensource software which works with segmentation of CT and MRI medical images, and the results of segmentation is a binary volume

Re: [Numpy-discussion] Adjacent matrix

2011-06-15 Thread Thiago Franco Moraes
On Tue, Jun 14, 2011 at 6:30 PM, Gael Varoquaux gael.varoqu...@normalesup.org wrote: On Tue, Jun 14, 2011 at 10:29:38AM -0300, Thiago Franco Moraes wrote: I don't know if I understand. The idea is to use _make_edges_3d to give me the connectivity, isn't it? Like for example, a 3x3 image: 0, 1

Re: [Numpy-discussion] Adjacent matrix

2011-06-14 Thread Thiago Franco Moraes
On Tue, Jun 14, 2011 at 8:06 AM, Luis Pedro Coelho l...@cmu.edu wrote: On Monday, June 13, 2011 03:55:46 PM Thiago Franco Moraes wrote: Find all of the grid points in that lie adjacent to one or more grid points of opposite values. This is the code used to calculate that matrix: [spin

Re: [Numpy-discussion] Adjacent matrix

2011-06-14 Thread Thiago Franco Moraes
On Mon, Jun 13, 2011 at 5:03 PM, Gael Varoquaux gael.varoqu...@normalesup.org wrote: Hi, You can probably find some inspiration from https://github.com/scikit-learn/scikit-learn/blob/master/scikits/learn/feature_extraction/image.py Gaël Hi Gaël, I don't know if I understand. The idea is to

Re: [Numpy-discussion] Adjacent matrix

2011-06-14 Thread Thiago Franco Moraes
On Tue, Jun 14, 2011 at 11:09 AM, Luis Pedro Coelho l...@cmu.edu wrote: On Tuesday, June 14, 2011 08:50:47 AM Thiago Franco Moraes wrote: On Tue, Jun 14, 2011 at 8:06 AM, Luis Pedro Coelho l...@cmu.edu wrote: On Monday, June 13, 2011 03:55:46 PM Thiago Franco Moraes wrote: Find all

[Numpy-discussion] Adjacent matrix

2011-06-13 Thread Thiago Franco Moraes
Hi all, I'm reproducing a algorithm from a paper. This paper takes as input a binary volumetric matrix. In a step from this paper, from this binary volumetric matrix a adjacent matrix is calculated, thisadjacent matrix is calculated as bellow: Find all of the grid points in that lie adjacent to

Re: [Numpy-discussion] Memmap with multiprocessing

2011-04-27 Thread Thiago Franco Moraes
On Tue, Apr 26, 2011 at 6:21 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Mon, Apr 25, 2011 at 1:16 PM, Thiago Franco Moraes totonixs...@gmail.com wrote: Hi, Has anyone confirmed if this is a bug? Should I post this in the bug tracker? I see the same thing with recent master

Re: [Numpy-discussion] Memmap with multiprocessing

2011-04-25 Thread Thiago Franco Moraes
Hi, Has anyone confirmed if this is a bug? Should I post this in the bug tracker? Thanks! On Tue, Apr 19, 2011 at 9:01 PM, Thiago Franco de Moraes totonixs...@gmail.com wrote: Hi all, I'm having a error using memmap objects shared among processes created by the multprocessing module. This