<div dir="ltr"><div><div>Hi Kevin,<br>So it is just like a local minimum or local maximum thing?Then we can write our own code and we can define an amplitude or a sigma value,right?<br></div>My python version is 2.7.I can import scipy.signal successfully but the 'module' object has no attribute 'argrelmax'. Do you have any idea?<br>
<br>Thank you.<br></div>hang<br><div>
<br><div><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Oct 20, 2013 at 1:44 AM, Kevin Gullikson <span dir="ltr"><<a href="mailto:kevin.gullikson@gmail.com" target="_blank">kevin.gullikson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Scipy.signal has a function for finding extrema. I have used it successfully for finding absorption lines; I assume it also works for emission lines:<br>
<br><a href="http://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.argrelmax.html#scipy.signal.argrelmax" target="_blank">http://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.argrelmax.html#scipy.signal.argrelma</a></div>
<div class="gmail_extra"><br clear="all"><div><br>Kevin Gullikson<br></div>
<br><br><div class="gmail_quote"><div><div>On Sat, Oct 19, 2013 at 10:35 AM, gonghang.naoc <span dir="ltr"><<a href="mailto:ghang.naoc@gmail.com" target="_blank">ghang.naoc@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
<div dir="ltr">hi,<br><br>Is there any handy module to detect emission lines in a spectrum like one we get from sdss?The spectra of sloan are fits files and the wavelength calibration has been done.Suppose the redshift is smaller than 300km/s<br>
<br>Case A:<br>We have a spectral line list.We just want to know whether there are some kinds of emission lines in the fits files.<br><br>Case B:<br>We do not have a line list.We just want to detect emission lines.<br><br>
Thank you.<br>hang<br></div>
<br></div></div>_______________________________________________<br>
AstroPy mailing list<br>
<a href="mailto:AstroPy@scipy.org" target="_blank">AstroPy@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/astropy" target="_blank">http://mail.scipy.org/mailman/listinfo/astropy</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>