<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Hi All,<div><br></div><div>When I access some derived fields (like StarFormationRate) in a galaxy simulation, the units are dimensionless:</div><div><br></div><div>







<p class=""><span class="">In [<b>4</b>]: </span>ad = ds.all_data()</p>
<p class=""><span class="">In [<b>5</b>]: </span>ad[("PartType0","StarFormationRate")]<br></p>
<p class="">Out[<b>5</b>]: </p>
<p class="">YTArray([  0.00000000e+00,   0.00000000e+00,   8.29740111e-06, ...,</p>
<p class="">         0.00000000e+00,   0.00000000e+00,   0.00000000e+00]) (dimensionless)</p><p class=""><br></p><p class="">I'd like to assign the units to this field.  I figure I could define a field with the right units, but it seems like it might be possible to just assign units to the ds StarFormationRate field as is.  Is this possible, or should I just define a new field?</p><p class="">thanks,<br>desika</p></div></div>