Hi, I have successful prof(sphere...) and prof2d(sphere...) objects plus the plots formatted with pylab, but prof3d(sphere...) gives "extrema" error:
prof3d = lagos.BinnedProfile3D(sphere, ... 8,"Density",extrema[0][0],extrema[0][1],True, ... 8,"Temperature",extrema[1][0],extrema[1][1],True, ... 8,"z-velocity",extrema[2][0],extrema[2][1],True, ... lazy_reader=True)
*************************************** Traceback (most recent call last): File "<stdin>", line 2, in <module> NameError: name 'extrema' is not defined help(lagos.BinnedProfile3D) doesn't show any reference to "extrema" *************************************** my sphere object:
sphere = a.h.sphere([0.171875,0.21875,0.4453125],100/a["kpc"])
my prof, prof2d objects:
prof = lagos.BinnedProfile1D(sphere,8,"Radiuskpc",1.5,102.72,True,True) prof.add_fields(["Density","Temperature"],weight="CellMassMsun")
prof2d = lagos.BinnedProfile2D(sphere,8,"Density",1e-10,1e-1,True,8,"Temperature",1e2,1e5,True,True) prof2d.add_fields("CellVolume",weight="CellMassMsun")
Thanks, -R.Soares
participants (1)
-
rsoares