<div dir="ltr">Thank you. Good idea.<br>Hang<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 6, 2016 at 3:12 AM, Matteo <span dir="ltr"><<a href="mailto:matteo@matteobachetti.it" target="_blank">matteo@matteobachetti.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi Hang, </p>
<p dir="ltr">If you just mean orbital (regular) gaps,  and you're looking for short-term variability, MaLTPyNT should work. </p>
<p dir="ltr">Otherwise L-S, that you have used previously. Take also a look at CARMA, it's very powerful for long - term variability. </p>
<p dir="ltr">Cheers, </p>
<p dir="ltr">Matteo <br><span class="HOEnZb"><font color="#888888">
</font></span></p><span class="HOEnZb"><font color="#888888">
<p dir="ltr"><br>
Matteo. </p></font></span><div class="HOEnZb"><div class="h5">

<br><div class="gmail_quote"><div dir="ltr">On 15:53, Sat, Mar 5, 2016 Brigitta Sipocz <<a href="mailto:sic@elte.hu" target="_blank">sic@elte.hu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Hang,<br><br></div>The "Python users in astronomy" facebook group [0] may be a better place to ask these kind of general questions as there may be more people reading and answering it there. <br><br></div>The answer may depend on what kind of periodic signals you are looking for. I have more experience with the following two options below, but there are several more approaches, too e.g. using wavelets, or gaussian process, etc.<br><br>One of the fastest/simplest method would be to run Lomb-Scargle [1], but it has some serious limitations if your signal is far from being sinusoidal, or you are going after quasi periodicity with changing signal shape, etc. There are quite a few python implementation, e.g in scipy or gatspy.  <br>Another method to search for a period is to use the autocorrelation function. Since your data is unevenly sampled you should use a <span><i>discrete correlation function </i></span>instead. Python implementations can be found in the time_series module of the astroML package.<br></div><div> Chapter 10 in the book of Statistics, Data Mining, and Machine Learning in Astronomy by Ivezić et al, is also an excellent guide on the subject. <br><br></div><div>Hope it helped.<br><br></div><div>Cheers,<br></div><div> Brigitta<br><br><br></div><div>[0] - <a href="https://www.facebook.com/groups/astropython/" target="_blank">https://www.facebook.com/groups/astropython/</a><br>[1] - <a href="https://jakevdp.github.io/blog/2015/06/13/lomb-scargle-in-python/" target="_blank">https://jakevdp.github.io/blog/2015/06/13/lomb-scargle-in-python/</a><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 March 2016 at 14:20, gonghang.naoc <span dir="ltr"><<a href="mailto:ghang.naoc@gmail.com" target="_blank">ghang.naoc@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 all,<br>This may not be a good question posted here, but possibly there should be pythoners who work in this field. <br>I wonder anybody knows an algorithm for the detection of periodic signals in gapped data?<br>I searched ADS, but it seems most of the data people deal with are evenly sampled.<br><br>Thank you.<br>Regards,<br>Hang<br></div>
<br>_______________________________________________<br>
AstroPy mailing list<br>
<a href="mailto:AstroPy@scipy.org" target="_blank">AstroPy@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/astropy" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman/listinfo/astropy</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>
AstroPy mailing list<br>
<a href="mailto:AstroPy@scipy.org" target="_blank">AstroPy@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/astropy" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman/listinfo/astropy</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
AstroPy mailing list<br>
<a href="mailto:AstroPy@scipy.org">AstroPy@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/astropy" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman/listinfo/astropy</a><br>
<br></blockquote></div><br></div></div>