Re: [yt-users] derived quantities
11 Dec
2010
11 Dec
'10
midnight
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@yahoo.com http://stephenskory.com/ 510.621.3687 (google voice)
4878
Age (days ago)
4878
Last active (days ago)
1 comments
2 participants
participants (2)
-
Matthew Turk
-
Stephen Skory