Integration of a field along line of sight

Oct. 31, 2017
9:56 p.m.
Dear YT people, I need to do integration of density field along line of sight. I know the ProjectionPlot function plots the integration of a field along line of sight. yt.ProjectionPlot(ds, 'z', 'density, center= 'm') However, I was wondering if it is possible to get the projection as an array (or new field) , so that I can make a ProfilePlot of the integrated field along line of sight and another field ('Mass') In other words, I want to do the following: sp = ds.sphere("max", (200, "kpc")) proj = yt.ProfilePlot(sp, 'Integrated_Density_along_Line_Of_Sight', 'Mass) Thanks Tazkera
2668
Age (days ago)
2668
Last active (days ago)
0 comments
1 participants
participants (1)
-
tazkera haque