[yt-users] Normalize in BinnedProfile1D

Nicholas Earl earlnich at msu.edu
Thu Jan 6 12:09:46 PST 2011


Hey there,

Is there perhaps a quick way to normalize the output of the BinnedProfile1D function? I have this: 

pf = load("DD%04i/DD%04i" % (n,n)) # opens and loads dataset
        dd = pf.h.all_data()  # selects the entire dataset (for phase plots)
        bp = BinnedProfile1D(dd, 100, "Metal_Fraction", 1e-11, 1e-3, log_space=True)

Is there something like a 'normed=True' parameter?

Thanks!
Nick


More information about the yt-users mailing list