17 Nov
2014
17 Nov
'14
2:54 p.m.
Hi All, I was wondering about the behaviour of create_profile in 3.0. If I do something like yt.create_profile(sphere, 'particle_radius', 'all_density') it will fail but yt.create_profile(sphere, 'radius', 'all_density') will succeed. And yt.create_profile(sphere, 'particle_radius', 'particle_mass', weight_field=None) will also be OK as long as I set the weight_field = None otherwise it fails. I'm able to plot enclosed dark matter profiles but when it comes to density profiles the above difficulties are proving troublesome :) Any tips would be appreciated! Simple script attached. John
3440
Age (days ago)
3440
Last active (days ago)
2 comments
2 participants
participants (2)
-
John Regan
-
Matthew Turk