[Tioga-users] Fwd: tioga gem install and repreview
Bill Paxton
paxton at kitp.ucsb.edu
Wed Apr 23 09:41:50 EDT 2008
Hi Dave,
Thanks for the info. I'm forwarding your message to the tioga-users
list since it may be of wider interest.
Sorry about the Mac rubygems problem -- I'm glad you were able to
work around it.
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.
So, if you're willing to help Taro get some new software working, you
might want to give "PyTioga" a try!
Here are the links: http://pytioga.sourceforge.net/ and http://
sourceforge.net/projects/pytioga
For the ruby Tioga, the NArray to Array to Dvector hack is probably
the best work around for the short term.
Cheers,
Bill
Begin forwarded message:
> From: David MacMahon <davidm at astro.berkeley.edu>
> Date: April 23, 2008 12:12:26 AM PDT
> To: paxton at kitp.ucsb.edu
> Subject: tioga gem install and repreview
>
> Hi, Bill,
>
> I've just discovered Tioga and am looking forward to great looking
> plots. I installed in on my Mac using rubygems and discovered that
> repreview did not get installed. I think it and
> Reload_Preview_Document.scpt are omitted from the gemfile. :-
> ( Anyway, I got the from the tarball and all is well now. :-)
>
> One thing that would be really helpful (for me at least) would be
> if Tioga could use NArray (http://narray.rubyforge.org/) in
> addition to DVector. 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). 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!). Anyway, worst case is that
> I can convert from NArray to Array and then to DVector. Not the
> rosiest of prospects, but at least there is a straightforward (if
> not speedy) solution.
>
> Perhaps a better approach would be to add missing (Ruby) functions
> to NArray so that it would be indistinguishable from DVector. 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?
>
> Thanks again for Tioga!
>
> Dave
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/tioga-users/attachments/20080423/0fa1e188/attachment.html
More information about the Tioga-users
mailing list