[yt-users] derived quantities
    Stephen Skory 
    stephenskory at yahoo.com
       
    Fri Dec 10 16:00:06 PST 2010
    
    
  
Matt,
> You might try printing out what is fed into the combine function; I
> think what you really want to do is return (data["creation_time"] >
> 0).sum() in _NumberOfStars.  Inside _combNumberOfStars try printing
> both data and ct, as well, to see if it's an axis problem with the
> combine function.
It appears that for some reason only the first entry of each of the arrays from the grids is being fed into the combine function. The script <http://paste.enzotools.org/show/1411/> outputs <http://paste.enzotools.org/show/1412/>. This sim has 297 grids, which is the size of the ct array in the combine function.
I'm confused...
 Stephen Skory
stephenskory at yahoo.com
http://stephenskory.com/
510.621.3687 (google voice)
    
    
More information about the yt-users
mailing list