[yt-users] Ray Profiling

John Regan johnanthonyregan at gmail.com
Thu Jun 4 05:30:38 PDT 2015


Hi All,

I can't seem to figure out how to create 1D profiles anymore!

I created a ray object and I'd like to profile it. I used BinnedProfile1D
in the past but that seems to be deprecated now and ProfilePlot is throwing
errors at me.

I have a simple script here that creates a ray and tries to 1D profile it
http://paste.yt-project.org/show/5591/

It spits this error at me

Traceback (most recent call last):
  File "H2Rates.py", line 86, in <module>
    plot = yt.ProfilePlot(my_ray, "density", ["temperature"])
  File
"/homeappl/home/regan/appl_taito/YT/3.1/yt-x86_64/src/yt-hg/yt/visualization/profile_plotter.py",
line 217, in __init__
    logs=logs)]
  File
"/homeappl/home/regan/appl_taito/YT/3.1/yt-x86_64/src/yt-hg/yt/data_objects/profiles.py",
line 1478, in create_profile
    for f, l in zip(bin_fields, logs)]
AttributeError: 'YTRay' object has no attribute 'quantities'

Cheers,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150604/7639bca4/attachment.htm>


More information about the yt-users mailing list