[yt-users] unitless values in 3.0

Matthew Turk matthewturk at gmail.com
Tue Jul 29 08:53:46 PDT 2014


Yup, .d will get a view on the array without units. Note that modifications
to the original array will be reflected in this view.

Matt
On Jul 29, 2014 10:52 AM, "Desika Narayanan" <dnarayan at haverford.edu> wrote:

> Hi All,
>
> Is there a way to drop the units for a value in yt 3.0?   For example, in
> astropy, you can get the raw value of x (without units) by accessing
> x.value.
>
> Thanks,
> desika
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140729/6d02a1bf/attachment.html>


More information about the yt-users mailing list