<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Rates.<div><br></div><div>For example, if I ran the module to get the star formation rates like this:</div><div><meta charset="utf-8"><span class="Apple-style-span" style="font-family: 'Droid Sans'; line-height: 22px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">sfr</span> <span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(102, 102, 102); ">=</span> <span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">StarFormationRate</span><span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">(</span><span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">pf</span><span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">,</span> <span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">data_source</span><span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(102, 102, 102); ">=</span><span class="nb" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(0, 112, 32); ">all</span><span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">)</span></pre></span><div><br></div></div><div>How can I access the contents of sfr in the script itself, rather than just writing it out to a file?</div><div><br></div><div>Thanks</div><div>Christine</div><div><br></div><div><div><div>On May 28, 2011, at 3:51 PM, Stephen Skory wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Christine,<br><br><blockquote type="cite">I have a question about the star analysis module.  I understand how to<br></blockquote><blockquote type="cite">run it and print out a file with the results, but is there a way to run<br></blockquote><blockquote type="cite">it and access the results within the script?  I am ignorant of how<br></blockquote><blockquote type="cite">classes work in python, and I am uncertain whether there is a trivial<br></blockquote><blockquote type="cite">way to access the contents of a star analysis object, or whether I need<br></blockquote><blockquote type="cite">a method to access its contents.  I looked at the code for the class and<br></blockquote><blockquote type="cite">I didn't see a method that does this, so I'm guessing there is a simple<br></blockquote><blockquote type="cite">way to do this?<br></blockquote><br>Are you talking about star formation rates or colors?<br><br>-- <br>Stephen Skory<br><a href="mailto:s@skory.us">s@skory.us</a><br>http://stephenskory.com/<br>510.621.3687 (google voice)<br>_______________________________________________<br>yt-users mailing list<br>yt-users@lists.spacepope.org<br>http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br></div></blockquote></div><br></div></body></html>