Re: [yt-users] derived quantities
11 Dec
2010
11 Dec
'10
2:20 a.m.
Matt,
I have now opened up derived_quantities and inspected. By searching for n_ret=1, which seems to be what you are looking for, I was able to identify the AngularMomentumVector quantity also has only one return value. In that source code it returns an iterable of length 1. Based on this, I am going to suggest:
return [ct.sum(),]
Bingo, that worked. Thanks, also, for the reminder to inspect the source for hints :). Stephen Skory stephenskory@yahoo.com http://stephenskory.com/ 510.621.3687 (google voice)
4883
Age (days ago)
4883
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stephen Skory