21 Oct
2013
21 Oct
'13
7:07 p.m.
Hello Everybody, I hope you are great! I have a question for you I am analyzing an Enzo data trying to get the center of mass of the Stars Particles. I am suing FOF linking_length = 0.017094633 haloes = FOFHaloFinder(pf, link=linking_length ,dm_only=False) for halo in haloes: ct = halo["creation_time"] sm = halo["ParticleMassMsun"] metal = halo["metallicity_fraction"] stars = (ct > 0) ct = ct[stars] sm = sm[stars] Is there a way to get sm.center_of_mass() or something similar to get the Center of Mass of the Stars Particles?? Thank you in Advance !
3831
Age (days ago)
3832
Last active (days ago)
1 comments
2 participants
participants (2)
-
Francia Riesco
-
Matthew Turk