10 Dec
2010
10 Dec
'10
5 p.m.
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)