<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 24, 2015 at 5:34 PM, AMAN singh <span dir="ltr"><<a href="mailto:ug201310004@iitj.ac.in" target="_blank">ug201310004@iitj.ac.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Everyone<br><br>I have made a basic draft of my proposal <a href="https://docs.google.com/document/d/1-dRqhFzyWnoDJl82KsYECo00B82osR6hujaZ008NUR8/edit?usp=sharing" target="_blank">here</a>.<br>Please review it and suggest modifications.<br></div></blockquote><div><br></div><div><font face="arial, helvetica, sans-serif">Hi Aman,</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">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 </font><font face="monospace, monospace">ni_support</font><font face="arial, helvetica, sans-serif">, namely:</font></div><div><br></div><div><ul><li><span style="color:rgb(51,51,51);font-size:12px;line-height:16.7999992370605px;white-space:pre"><font face="monospace, monospace">NI_Iterator</font></span><span style="color:rgb(51,51,51);font-size:12px;line-height:16.7999992370605px;white-space:pre"><font face="arial, helvetica, sans-serif"> in its three flavors: point, subspace and line iterator,</font></span><br></li><li><span style="color:rgb(51,51,51);font-size:12px;line-height:16.7999992370605px;white-space:pre"><span style="line-height:16.7999992370605px"><font face="monospace, monospace">NI_LineBuffer</font><font face="arial, helvetica, sans-serif"> and</font></span><font face="arial, helvetica, sans-serif"><br></font></span></li><li><span style="color:rgb(51,51,51);font-size:12px;line-height:16.7999992370605px;white-space:pre"><span style="line-height:16.7999992370605px"><span style="line-height:16.7999992370605px"><font face="monospace, monospace">NI_FilterIterator</font><font face="arial, helvetica, sans-serif">.</font></span><font face="monospace, monospace"><br></font></span></span></li></ul><font color="#333333" face="arial, helvetica, sans-serif"><span style="font-size:12px;line-height:16.7999992370605px;white-space:pre">Closely linked to this is the choice of a method to</span></font><span style="font-size:12px;line-height:16.7999992370605px;white-space:pre;color:rgb(51,51,51);font-family:arial,helvetica,sans-serif"> 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.</span></div><div><span style="font-size:12px;line-height:16.7999992370605px;white-space:pre;color:rgb(51,51,51);font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-size:12px;line-height:16.7999992370605px;white-space:pre;color:rgb(51,51,51);font-family:arial,helvetica,sans-serif">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.</span></div><div><br></div><div>Jaime</div></div><div><br></div>-- <br><div class="gmail_signature">(\__/)<br>( O.o)<br>( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes de dominación mundial.</div>
</div></div>