Thanks, everyone, for the responses.<br><br><div>It is as Brian has said: I am dealing specifically with the case of an absorption spectrum generator. The simulation is indeed idealized and non-cosmological.</div><div><br></div><div>Attempting to load the data and pass it to SpectrumBuilder yields the 'CosmologyInitialRedshift' KeyError seen here <a href="http://paste.yt-project.org/show/5248/">http://paste.yt-project.org/show/5248/</a>. Editing the sfr_spectrum.py file to accept hard-coded values (for the omegas and initial redshift) yields a second KeyError seen here <a href="http://paste.yt-project.org/show/5249/">http://paste.yt-project.org/show/5249/</a>.</div><div><br></div><div>As per Nathan's suggestion, I will give the yt-3.0 version of the generator a go in the mean time.</div><div><br></div><div>Thanks again for your guys' attention,</div><div>Nick</div><br><div class="gmail_quote">On Mon Dec 08 2014 at 5:19:21 PM Cameron Hummels <<a href="mailto:chummels@gmail.com" target="_blank">chummels@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've used the code on individual blobs of gas in an ambient medium with short sightlines, but I used it on sim outputs that were cosmological.  I think it would be relatively straightforward to generalize the code to allow one to *set* the cosmological parameters, instead of reading those values from the dataset.  I think Britton would be the main person to answer these questions, but I'll take a look at it this evening and see how hard this might be.<div><br></div><div>Cameron</div></div><div class="gmail_extra"></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 8, 2014 at 2:59 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Brian and Nick,<br><br>Can you share with us the errors you're seeing?<div><br></div><div>It's likely that no one has tried to do what you're doing before.  To get it to work, it might just be necessary to make some adjustments to the absorption spectrum machinery in the case when we detect a non-cosmological dataset. That will require making some modifications to yt, but that's ok!</div><div><br></div><div>It looks like the absorption spectrum analysis module *has* seen some updates for yt-3.0, so you may also want to try again in the latest version of the codebase.  I haven't personally used it - it looks like Hillary Egan was the last person to touch the code.</div><span><font color="#888888"><div><br></div><div>-Nathan</div></font></span><div><div><div><br><div class="gmail_quote">On Mon Dec 08 2014 at 1:52:15 PM Brian O'Shea <<a href="mailto:bwoshea@gmail.com" target="_blank">bwoshea@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi folks,<div><br></div><div>Just to send a quick followup on this: Nick is referring specifically to the *absorption spectrum* generator, and he is trying to make spectra of idealized, non-cosmological simulations (think a blob in an ambient medium) that has no redshift as a simulation parameter.  The question is, how does one do this?</div><div><br></div><div>Cheers,</div><div>Brian</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 8, 2014 at 11:59 AM, Nicholas Earl <span dir="ltr"><<a href="mailto:nchlsearl@gmail.com" target="_blank">nchlsearl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey everyone,<div><br></div><div>Is there a way to fake the cosmological parameters that the synthetic spectrum generator looks for in a simulation? Or rather, a "sanctioned" way? Having the package reference hardcoded values when the parameters themselves are not found yields other missing fields like 'creation_time'. I am wondering if this is a consequence of the simulation not being inherently cosmological?</div><div><br></div><div>I am using yt 2.x currently, as I'm aware that there seems to be an issue with the generator in the 3.0 release.</div><div><br></div><div>Thanks for your time,</div><div>Nick</div>
<br>______________________________<u></u>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a><br>
<br></blockquote></div><br></div>
______________________________<u></u><u></u>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>lis<u></u>tinfo.cgi/yt-users-<u></u>spacepope.<u></u>org</a><br>
</blockquote></div></div>
</div></div><br>______________________________<u></u>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div><div class="gmail_extra">-- <br><div>Cameron Hummels<div>Postdoctoral Researcher</div><div>Steward Observatory</div><div>University of Arizona</div><div><a href="http://chummels.org" target="_blank">http://chummels.org</a></div></div>
</div>
______________________________<u></u><u></u>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>lis<u></u>tinfo.cgi/yt-users-<u></u>spacepope.<u></u>org</a><br>
</blockquote></div>