Hi Jose,You are going to need to create a new deposited particle field using ds.add_deposited_particle_field: Alternatively you might find ParticlePlot to be useful, it will let you directly visualize the particle field without creating a deposit field:Best,NathanOn Tue, Apr 18, 2017 at 1:13 PM, José Mauricio Utreras <jutreras@ug.uchile.cl> wrote:______________________________Hi yt users!
Does anybody know how to create a projection for particles using another field rather than "particle_mass"?
I was using this:proj = ds.proj('density', 2,data_source=disk_dd,method='sum') frb = proj.to_frb(width, res, center=[0.5,0.5,0.5])M_star=frb[('deposit', 'young_stars_mass')].in_units('Msun')
But now I would like to do this with a particle mass field that depends on the characteristic timescales of the particles rather than the default field.
Cheers!
José Utreras_________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope. org
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users- spacepope.org