<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi Dave,<div><br class="webkit-block-placeholder"></div><div>Thanks for the info.  I'm forwarding your message to the tioga-users list since it may be of wider interest.</div><div><br class="webkit-block-placeholder"></div><div>Sorry about the Mac rubygems problem -- I'm glad you were able to work around it.</div><div><br class="webkit-block-placeholder"></div><div>Concerning NArray -- we are currently going through a reworking of the tioga implementation prompted by Taro Sato's project to make a Python version.  Taro's version of tioga doesn't use Dvectors -- it uses the standard python analog of NArray.</div><div><br class="webkit-block-placeholder"></div><div>So, if you're willing to help Taro get some new software working, you might want to give "PyTioga" a try!</div><div>Here are the links:  <a href="http://pytioga.sourceforge.net">http://pytioga.sourceforge.net</a>/  and <a href="http://sourceforge.net/projects/pytioga">http://sourceforge.net/projects/pytioga</a></div><div><br class="webkit-block-placeholder"></div><div>For the ruby Tioga, the NArray to Array to Dvector hack is probably the best work around for the short term.</div><div><br class="webkit-block-placeholder"></div><div>Cheers,</div><div>Bill</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><br><div><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">David MacMahon &lt;<a href="mailto:davidm@astro.berkeley.edu">davidm@astro.berkeley.edu</a>&gt;</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">April 23, 2008 12:12:26 AM PDT</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="mailto:paxton@kitp.ucsb.edu">paxton@kitp.ucsb.edu</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><b>tioga gem install and repreview</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi, Bill,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I've just discovered Tioga and am looking forward to great looking plots.<span class="Apple-converted-space">  </span>I installed in on my Mac using rubygems and discovered that repreview did not get installed.<span class="Apple-converted-space">  </span>I think it and Reload_Preview_Document.scpt are omitted from the gemfile. :-(<span class="Apple-converted-space">  </span>Anyway, I got the from the tarball and all is well now. :-)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">One thing that would be really helpful (for me at least) would be if Tioga could use NArray (<a href="http://narray.rubyforge.org">http://narray.rubyforge.org</a>/) in addition to DVector.<span class="Apple-converted-space">  </span>NArray has many of the same features as DVector, plus it can do complex numbers (which are a necessity for my work on the radio interferometer for the Allen Telescope Array).<span class="Apple-converted-space">  </span>I suspect that they are somewhat similar in nature underneath (i.e. basically a pointer to a block of memory), so it should, in theory, be easy to convert from one to the other without too much fussing (just tricky to make sure one doesn't free the memory out from underneath the other!).<span class="Apple-converted-space">  </span>Anyway, worst case is that I can convert from NArray to Array and then to DVector.<span class="Apple-converted-space">  </span>Not the rosiest of prospects, but at least there is a straightforward (if not speedy) solution.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Perhaps a better approach would be to add missing (Ruby) functions to NArray so that it would be indistinguishable from DVector.<span class="Apple-converted-space">  </span>Do you think that would be feasible or does Tioga depend on DVector's underlying C implementation in a way that would make that approach unworkable?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks again for Tioga!</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Dave</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </blockquote></div><br></div></body></html>