<div dir="ltr">Hi Hilary,<div><br></div><div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">Thank you very much for your update and I'm sorry for the late reply. I've tested the new code with two datasets. The results are attached. The abnormal peaks in the statistics of N have disappeared, and the abnormal peaks for b are much lower now, but still visible. </div>

<div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">Thank you very much for your effort in fixing this! Please tell me if you need any test data from me.</div>

</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">Pengfei</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Feb 14, 2014 at 3:30 PM, Pengfei Chen <span dir="ltr"><<a href="mailto:madcpf@gmail.com" target="_blank">madcpf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Hilary,<div><br></div><div>Thank you! I'm looking forward to it.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Pengfei</div></font></span></div><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 13, 2014 at 7:32 PM, Hilary Egan <span dir="ltr"><<a href="mailto:hilaryye@gmail.com" target="_blank">hilaryye@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Pengfei,<div><br></div><div>I have a fix for this issue that just needs a little more testing! I'll push it shortly and reply to this message when it's been accepted.</div>

<div><br></div><div>-Hilary</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Thu, Feb 13, 2014 at 8:04 PM, Pengfei Chen <span dir="ltr"><<a href="mailto:madcpf@gmail.com" target="_blank">madcpf@gmail.com</a>></span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi all,</span><div>
<font face="arial, sans-serif"><br>

</font><div style="font-family:arial,sans-serif;font-size:13px">I've used the<br><br>yt.analysis_modules.absorption_spectrum.absorption_spectrum_fit<br>
<br>script to fit an Lya absorption spectrum generated by yt.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">But there are some abnormal peaks when I did statistics of line width b and column density N. Two figures are attached. I've tried with different redshifts and all of them had peaks in b-distribution at init_b (which is 40km/s here) and maxb(which is 300km/s here). For the N-distribution I got peaks around 10^12 cm^-2 at every redshift. The parameters I used were:</div>




<div style="font-family:arial,sans-serif;font-size:13px"><div><div><br></div><div>HI_parameters = {'name':'HI',</div><div>                 'f': [.4164],</div><div>                 'Gamma':[6.265E8],</div>




<div>                 'wavelength':[1215.67],</div><div>                 'numLines':1,</div><div>                 'maxN': 1E22, 'minN':1E11,</div><div><div>                 'maxb': 300, 'minb':1,</div>




<div>                 'maxz': 5, 'minz':0,</div></div><div>                 'init_b':40,</div><div>                 'init_N':1E14}</div></div></div><div style="font-family:arial,sans-serif;font-size:13px">




<br></div><div style="font-family:arial,sans-serif;font-size:13px">Could someone please tell me how to solve this? All the analysis were done with the latest development version of yt and I made no changes to the source code. </div>




<div style="font-family:arial,sans-serif;font-size:13px"><div><br></div></div><div style="font-family:arial,sans-serif;font-size:13px">Please tell me if you need any datasets.</div><div style="font-family:arial,sans-serif;font-size:13px">




<br></div><div style="font-family:arial,sans-serif;font-size:13px">Thank you!</div></div><span><font color="#888888"><div style="font-family:arial,sans-serif;font-size:13px">Pengfei</div></font></span></div>


<br></div></div>_______________________________________________<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/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<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/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>