<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
hi, <br>
I have the simple problem that I cant figure out how to change the
units for data within a<code> </code><code class="descname">YTQuadTreeProjBase.
so I'm stuck with code units all along. heres my script part:<br>
<br>
<br>
ds = yt.load(some ramses data) <br>
<br>
prj = ds.proj("Density", 2)<br>
prj.apply_units(arr,'g/cm**2') #maybe it's all because I
dont know what to put in for "arr"<br>
<br>
frb=prj.to_frb((10,'pc'),(1024,1024))<br>
surfdense=np.array(frb[density])<br>
<br>
<br>
<br>
as you can see the unit I need is g/cm**2 but the method applied
above dont work!?<br>
<br>
thanx for your help<br>
<br>
phil<br>
</code><code class="descname"></code>
</body>
</html>