GSoC: Rewriting scipy.ndimage in Cython
Hi developers My name is Aman Singh and I am currently a second year undergraduate student of Computer Science department at Indian Institute of Technology, Jodhpur. I want to participate in GSoC'15 and the project I am aiming for is *porting scipy.ndimage to cython*. I have been following scipy for the last few months and have also made some contributions. I came across this project on their GSoC'15 ideas' page and found it interesting. I have done some research in the last week on my part. I am going through Cython documentation, scipy lecture on github and Richard's work of GSoC' 14 in which he ported cluster package to cython. While going through the module scipy.ndimage I also found that Thouis Jones had already ported a function ndimage.label() to cython. I can use that as a reference for the rest of the project. Please tell me whether I am on right track or not. If you can suggest me some resources which will be helpful to me in understanding the project, I would be highly obliged. Also, I would like to know that how much part of ndimage is to be ported under this project since it is a big module. Kindly provide me some suggestions and guide me through this. Regards, Aman Singh
Hi Aman On Mon, Mar 9, 2015 at 9:52 AM, AMAN singh <ug201310004@iitj.ac.in> wrote:
Please tell me whether I am on right track or not. If you can suggest me some resources which will be helpful to me in understanding the project, I would be highly obliged. Also, I would like to know that how much part of ndimage is to be ported under this project since it is a big module. Kindly provide me some suggestions and guide me through this.
Thanks for your interest in GSoC 2015! Please have a look at the issues for scikit-image, and try and submit a few PRs so that we can work together and get to know you a bit better. Thanks! Stéfan
Hi Everyone I have made a basic draft of my proposal here <https://docs.google.com/document/d/1-dRqhFzyWnoDJl82KsYECo00B82osR6hujaZ008N...> . Please review it and suggest modifications. @Ralf and @stefanv thanks for the suggestions. Regards, Aman On Tuesday, March 10, 2015 at 6:54:06 AM UTC+5:30, AMAN singh wrote:
Hi developers
My name is Aman Singh and I am currently a second year undergraduate student of Computer Science department at Indian Institute of Technology, Jodhpur. I want to participate in GSoC'15 and the project I am aiming for is *porting scipy.ndimage to cython*. I have been following scipy for the last few months and have also made some contributions. I came across this project on their GSoC'15 ideas' page and found it interesting. I have done some research in the last week on my part. I am going through Cython documentation, scipy lecture on github and Richard's work of GSoC' 14 in which he ported cluster package to cython. While going through the module scipy.ndimage I also found that Thouis Jones had already ported a function ndimage.label() to cython. I can use that as a reference for the rest of the project.
Please tell me whether I am on right track or not. If you can suggest me some resources which will be helpful to me in understanding the project, I would be highly obliged. Also, I would like to know that how much part of ndimage is to be ported under this project since it is a big module. Kindly provide me some suggestions and guide me through this.
Regards,
Aman Singh
Hi Aman On Tue, Mar 24, 2015 at 5:34 PM, AMAN singh <ug201310004@iitj.ac.in> wrote:
I have made a basic draft of my proposal here. Please review it and suggest modifications.
I would suggest that, instead of filling out the leaves of the tree, we start by fully porting one piece of functionality. It would be good if you could construct at least a list of top level functions to be ported. The timeline is currently a bit vague. Regards Stéfan
On Tue, Mar 24, 2015 at 5:34 PM, AMAN singh <ug201310004@iitj.ac.in> wrote:
Hi Everyone
I have made a basic draft of my proposal here <https://docs.google.com/document/d/1-dRqhFzyWnoDJl82KsYECo00B82osR6hujaZ008N...> . Please review it and suggest modifications.
Hi Aman, This may not be 100% true for all the functionality, but I believe that the gist of the ndimage module is in the 4-5 object-like constructs in ni_support, namely: - NI_Iterator in its three flavors: point, subspace and line iterator, - NI_LineBuffer and - NI_FilterIterator. Closely linked to this is the choice of a method to deal with multiple dtypes, a question for which I don't think there is an obvious answer. Since performance is critical, you may want to take a look at bottleneck's use of templates that are pre-processed before cythonizing and compiling. If you get these right, then rather than the leaves of the tree, you will have built a solid foundation, more like the the trunk: porting all the other modules is then going to mostly be little more than an exercise in translation. So I would suggest that you devote more time to getting these fundamental questions right, as some trial and error is going to be inevitable. Jaime -- (\__/) ( O.o) ( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes de dominación mundial.
Thank you everyone for your insightful comments. I have tried to incorporate your suggestion in the proposal. Kindly have a look at the new proposal here <https://docs.google.com/document/d/11RTVaDQDu38mrEv3WPdguxprJ-ha5kGnx2LhpEUF...> and suggest the improvements. Thanks once again. Regards, Aman Singh On Tuesday, March 10, 2015 at 6:54:06 AM UTC+5:30, AMAN singh wrote:
Hi developers
My name is Aman Singh and I am currently a second year undergraduate student of Computer Science department at Indian Institute of Technology, Jodhpur. I want to participate in GSoC'15 and the project I am aiming for is *porting scipy.ndimage to cython*. I have been following scipy for the last few months and have also made some contributions. I came across this project on their GSoC'15 ideas' page and found it interesting. I have done some research in the last week on my part. I am going through Cython documentation, scipy lecture on github and Richard's work of GSoC' 14 in which he ported cluster package to cython. While going through the module scipy.ndimage I also found that Thouis Jones had already ported a function ndimage.label() to cython. I can use that as a reference for the rest of the project.
Please tell me whether I am on right track or not. If you can suggest me some resources which will be helpful to me in understanding the project, I would be highly obliged. Also, I would like to know that how much part of ndimage is to be ported under this project since it is a big module. Kindly provide me some suggestions and guide me through this.
Regards,
Aman Singh
On Thu, Mar 26, 2015 at 8:40 PM, AMAN singh <ug201310004@iitj.ac.in> wrote:
Thank you everyone for your insightful comments. I have tried to incorporate your suggestion in the proposal. Kindly have a look at the new proposal here <https://docs.google.com/document/d/11RTVaDQDu38mrEv3WPdguxprJ-ha5kGnx2LhpEUF...> and suggest the improvements.
Hi Aman, this looks quite good to me. For the timeline I think it will take longer to get the iterators right and shorter to port the last functions at the end - once you get the hang of it you'll be able to do the last ones quickly I expect. Cheers, Ralf
Thanks once again. Regards,
Aman Singh
On Tuesday, March 10, 2015 at 6:54:06 AM UTC+5:30, AMAN singh wrote:
Hi developers
My name is Aman Singh and I am currently a second year undergraduate student of Computer Science department at Indian Institute of Technology, Jodhpur. I want to participate in GSoC'15 and the project I am aiming for is *porting scipy.ndimage to cython*. I have been following scipy for the last few months and have also made some contributions. I came across this project on their GSoC'15 ideas' page and found it interesting. I have done some research in the last week on my part. I am going through Cython documentation, scipy lecture on github and Richard's work of GSoC' 14 in which he ported cluster package to cython. While going through the module scipy.ndimage I also found that Thouis Jones had already ported a function ndimage.label() to cython. I can use that as a reference for the rest of the project.
Please tell me whether I am on right track or not. If you can suggest me some resources which will be helpful to me in understanding the project, I would be highly obliged. Also, I would like to know that how much part of ndimage is to be ported under this project since it is a big module. Kindly provide me some suggestions and guide me through this.
Regards,
Aman Singh
participants (4)
-
AMAN singh
-
Jaime Fernández del Río
-
Ralf Gommers
-
Stéfan van der Walt