<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" size="4">Dear all,</font><div><font class="Apple-style-span" size="4"><br></font></div><div><font class="Apple-style-span" size="4">Thank you for your help in advance.</font></div><div><font class="Apple-style-span" size="4">I am currently running cosmological simulations using Nyx code.</font></div><div><font class="Apple-style-span" size="4">And while trying to over plotting particles on the density slice, I encountered the following error which I couldn't resolve. I will greatly appreciate your help.</font></div><div><br></div><div><div><font class="Apple-style-span" color="#01115b">Traceback (most recent call last):</font></div><div><font class="Apple-style-span" color="#01115b">  File "./OverPlotingParticles.py", line 14, in <module></font></div><div><font class="Apple-style-span" color="#01115b">    pc.set_width(1.0, '1') # change width of our plot to the full domain</font></div><div><font class="Apple-style-span" color="#01115b">  File "/home/uni06/cosmo/rmekuri/yt-x86_64/src/yt-hg/yt/visualization/plot_collection.py", line 267, in set_width</font></div><div><font class="Apple-style-span" color="#01115b">    plot.set_width(width, unit)</font></div><div><font class="Apple-style-span" color="#01115b">  File "/home/uni06/cosmo/rmekuri/yt-x86_64/src/yt-hg/yt/visualization/plot_types.py", line 441, in set_width</font></div><div><font class="Apple-style-span" color="#01115b">    self._refresh_display_width()</font></div><div><font class="Apple-style-span" color="#01115b">  File "/home/uni06/cosmo/rmekuri/yt-x86_64/src/yt-hg/yt/visualization/plot_types.py", line 459, in _refresh_display_width</font></div><div><font class="Apple-style-span" color="#01115b">    self._redraw_image()</font></div><div><font class="Apple-style-span" color="#01115b">  File "/home/uni06/cosmo/rmekuri/yt-x86_64/src/yt-hg/yt/visualization/plot_types.py", line 406, in _redraw_image</font></div><div><font class="Apple-style-span" color="#01115b">    self._run_callbacks()</font></div><div><font class="Apple-style-span" color="#01115b">  File "/home/uni06/cosmo/rmekuri/yt-x86_64/src/yt-hg/yt/visualization/plot_types.py", line 259, in _run_callbacks</font></div><div><font class="Apple-style-span" color="#01115b">    cb(self)</font></div><div><font class="Apple-style-span" color="#01115b">  File "/home/uni06/cosmo/rmekuri/yt-x86_64/src/yt-hg/yt/visualization/plot_modifications.py", line 985, in __call__</font></div><div><font class="Apple-style-span" color="#01115b">    &   ( reg[field_y] >= y0 ) & ( reg[field_y] <= y1 ) )</font></div><div><font class="Apple-style-span" color="#01115b">  File "/home/uni06/cosmo/rmekuri/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 319, in __getitem__</font></div><div><font class="Apple-style-span" color="#01115b">    self.get_data(key)</font></div><div><font class="Apple-style-span" color="#01115b">  File "/home/uni06/cosmo/rmekuri/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 2410, in get_data</font></div><div><font class="Apple-style-span" color="#01115b">    if self._generate_field(field):</font></div><div><font class="Apple-style-span" color="#01115b">  File "/home/uni06/cosmo/rmekuri/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 352, in _generate_field</font></div><div><font class="Apple-style-span" color="#01115b">    raise KeyError(field)</font></div><div><font class="Apple-style-span" color="#01115b">KeyError: 'particle_position_y'</font></div><div><br></div><div>
<div><p align="LEFT" style="margin-bottom: 0in; "><span class="Apple-style-span" style="font-size: large; ">With best regards,</span></p><div><br></div><div>Cheers,</div><div><br></div><div>Remudin</div><p align="LEFT" style="margin-bottom: 0in; "><font class="Apple-style-span" face="Menlo" size="2"><font color="#000000">---</font>---</font></p><p align="LEFT" style="margin-bottom: 0in; "><font color="#000000" face="Menlo" size="2">Remudin Reshid Mekuria                              phone: +49 (0)551 39-13805</font></p><p align="LEFT" style="margin-bottom: 0in; "><font color="#000000" face="Menlo" size="2">IAG, Friedrich-Hund-Plaz 1                           fax: +49 (0)551 39-5043</font></p><p align="LEFT" style="margin-bottom: 0in; "><font color="#000000" face="Menlo" size="2">D-37077 Goettingen</font></p><p align="LEFT" style="margin-bottom: 0in; "><font color="#000000" face="Menlo" size="2">Germany</font></p></div><div><font color="#000000" face="Menlo" size="2"><br></font></div><br class="Apple-interchange-newline">
</div>

<br></div></body></html>