[yt-users] star_density slices

Elizabeth Tasker taskere at mcmaster.ca
Mon Jun 13 07:31:43 PDT 2011


Hi Matt and Britton,

I've attached the image for the stars over the whole disk; it shows the 
same issue, with the grids (and also any gas property) showing the 
region correctly, but the stars only appearing in a small patch.

Matt, your script gives:

Min: [('x', 5.6774955112245706), ('y', 5.7878015648296586), ('z', 
15.07668303734844)]
Max: [('x', 26.537083788811703), ('y', 25.802074691296504), ('z', 
17.201602159672426)]


Which are the values I expect.

It could be, as Britton suggests, a problem with the box size not being 
0-1. Although, that is a particularly random patch it's decided to fill in.

Elizabeth


Matthew Turk wrote:
> Hi Elizabeth,
>
> Weird.
>
> This script should help us find out where the stars live.  What's it
> give you?  (Replace the loaded dataset with your own.)
>
> http://paste.enzotools.org/show/1696/
>
> Also, it'd be nice to see that image Britton requested.
>
> -Matt
>
> On Fri, Jun 10, 2011 at 2:02 PM, Elizabeth Tasker <taskere at mcmaster.ca> wrote:
>   
>> Oddly, neither of those make any difference.
>>
>> Elizabeth
>>
>>
>>
>> Britton Smith wrote:
>>     
>>> I would also suggest trying some projections instead of slices as well.
>>>  Both of those fields are created using the CIC_deposit interpolation method
>>> with just the star particles.  I could see a field like that being
>>> problematic when doing slices.
>>>
>>> Britton
>>>
>>> On Fri, Jun 10, 2011 at 4:10 PM, Cameron Hummels
>>> <chummels at astro.columbia.edu <mailto:chummels at astro.columbia.edu>> wrote:
>>>
>>>    Try using the field StarMassMsun instead of star_density and see
>>>    what it yields.  I've had better luck with that field.
>>>
>>>    Cameron
>>>
>>>
>>>    On 6/10/11 4:00 PM, Elizabeth Tasker wrote:
>>>       
>>>>    Hi,
>>>>
>>>>    Slices of the star_density field are only showing a tiny patch of
>>>>    the area in the corner, rather than the whole region. My script
>>>>    looks like:
>>>>
>>>>    pc = PlotCollection(pf, center=[17.,11.5, 16])
>>>>    p = pc.add_slice("star_density", 2)
>>>>    pc.set_width(10, 'kpc')
>>>>    p.modify["grids"]()
>>>>
>>>>    Density comes out fine and the grids are drawn in but then only a
>>>>    few of them get stars.
>>>>
>>>>    Elizabeth
>>>>
>>>>
>>>>    _______________________________________________
>>>>    yt-users mailing list
>>>>    yt-users at lists.spacepope.org <mailto:yt-users at lists.spacepope.org>
>>>>    http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>>
>>>>         
>>>    _______________________________________________
>>>    yt-users mailing list
>>>    yt-users at lists.spacepope.org <mailto:yt-users at lists.spacepope.org>
>>>    http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> yt-users mailing list
>>> yt-users at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>>>       
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>     
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: GT_BTAccel_256AMR4_PeHeat_sf5_SNe_0301_Projection_z_StarMassMsun.png
Type: image/png
Size: 154963 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20110613/0bec5d0f/attachment-0001.png>


More information about the yt-users mailing list