<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">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>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 class="HOEnZb"><font color="#888888"><div style="font-family:arial,sans-serif;font-size:13px">Pengfei</div></font></span></div>


<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">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>