[yt-users] derived quantities

Stephen Skory stephenskory at yahoo.com
Fri Dec 10 15:24:19 PST 2010


Matt,

> Try: dd.quantities["NumberOfStars"]()


Duh! That works, sort of: Now I'm getting '0' when I am expecting '1'. Any ideas why? If I put a print in _NumberOfStars() I see that one of the grids has one star, the others zero, but otherwise things are not as I expect.


 Stephen Skory
stephenskory at yahoo.com
http://stephenskory.com/
510.621.3687 (google voice)



More information about the yt-users mailing list