29 Nov
2018
29 Nov
'18
1:28 p.m.
Thank you!
On Thu, Nov 29, 2018 at 2:26 PM Corentin CADIOU
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:
def old(pfilter, data):
old_only = data[data, "particle_mass"].in_units('Msun')
filter = old_only < 4e6
return filter
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