[yt-dev] convert_to_cgs

Nathan Goldbaum nathan12343 at gmail.com
Sun Nov 16 11:08:07 PST 2014


I don't think it will be simple - there are almost certainly places where
we assume the underlying representation is CGS. That said, I think it would
be possible.

Matt, can you write up a YTEP for this first so we have a better idea of
your implementation and design ideas?
On Sun, Nov 16, 2014 at 10:40 AM John Zuhone <jzuhone at gmail.com> wrote:

> I'm assuming that "underneath the hood" everything would still have to be
> based on *something* by default, which would be cgs?
> On Sun, Nov 16, 2014 at 10:09 AM Matthew Turk <matthewturk at gmail.com>
> wrote:
>
>> Hi all,
>>
>> Would it be feasible (I am volunteering to do this if so) to change
>> instances of convert_to_cgs to something like convert_to_native, and then
>> adding a new set of unit collections?  This would basically mean if we
>> wanted units to be in 10^10MSun + Mpc + GYr, it would convert to that,
>> rather than cgs.  My naive assumption is that if we had string keys for
>> unit collections, this would be simple, and the unit object would simply
>> check the string key, get the units, and go.
>>
>> -Matt
>> _______________________________________________
>> yt-dev mailing list
>> yt-dev at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20141116/c4f021c6/attachment.html>


More information about the yt-dev mailing list