[yt-dev] Issue #1260: make spectrum with "use_peculiar_velocity = False" (yt_analysis/yt)

Pengfei Chen issues-reply at bitbucket.org
Thu Aug 11 16:37:42 PDT 2016


New issue 1260: make spectrum with "use_peculiar_velocity = False"
https://bitbucket.org/yt_analysis/yt/issues/1260/make-spectrum-with-use_peculiar_velocity

Pengfei Chen:

Hi all,

I was trying to make a light ray with "use_peculiar_velocity=False", then trying to make a spectrum also with "use_peculiar_velocity=False", but I got an error. 

The code I use is here:
http://paste.yt-project.org/show/6763/

I should set "field = 'H_number_density'" but since there's no such field in that dataset, I choose "field = 'density'" just to trigger the error.

The error message is here:
http://paste.yt-project.org/show/6764/

Thanks for your attention,
Pengfei




More information about the yt-dev mailing list