29 Nov
2018
29 Nov
'18
1:25 p.m.
The code bellow will consider each individual star so that's a good way of doing it. Corentin On 29/11/2018 13.37, Vadlamani Samhitha wrote:
I've been trying to use a filter with "particle_mass" < mass resolution cut in between stars and dark matter:
defold(pfilter, data):
old_only = data[data, "particle_mass"].in_units('Msun')
filter= old_only < 4e6
returnfilter
However, I am uncertain if this is going to consider individual mass particles or combined mass particles in a cell.
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org