<div dir="ltr"><div>Personally, with the amount of codes (and the different astrophysics people are doing with those code). Some sort of config/user-set-defaults system would be cool ... Which is what I think you are suggesting? cgs is a nice "default go-to".. but it would be cool to have a few settings pre-saved (maybe into a JSON file or something).. in which a user can provide at anytime.. so that there is no need to add on .in_units(MSun, Gyr, Mpc).<br><br></div>Ben.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 16, 2014 at 7:08 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br><br>Matt, can you write up a YTEP for this first so we have a better idea of your implementation and design ideas?<div class="HOEnZb"><div class="h5"><br><div class="gmail_quote">On Sun, Nov 16, 2014 at 10:40 AM John Zuhone <<a href="mailto:jzuhone@gmail.com" target="_blank">jzuhone@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm assuming that "underneath the hood" everything would still have to be based on *something* by default, which would be cgs?<br><div class="gmail_quote">On Sun, Nov 16, 2014 at 10:09 AM Matthew Turk <<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<div><br></div><div>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.</div><div><br></div><div>-Matt</div>
______________________________<u></u>_________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-dev-spacepope.<u></u>org</a><br>
</blockquote></div>
______________________________<u></u>_________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-dev-spacepope.<u></u>org</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div>