[AstroPy] time-series tools in Python
sic at elte.hu
Sat Mar 5 09:53:41 EST 2016
The "Python users in astronomy" facebook group  may be a better place to
ask these kind of general questions as there may be more people reading and
answering it there.
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.
One of the fastest/simplest method would be to run Lomb-Scargle , 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.
Another method to search for a period is to use the autocorrelation
function. Since your data is unevenly sampled you should use a *discrete
correlation function *instead. Python implementations can be found in the
time_series module of the astroML package.
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.
Hope it helped.
 - https://www.facebook.com/groups/astropython/
 - https://jakevdp.github.io/blog/2015/06/13/lomb-scargle-in-python/
On 5 March 2016 at 14:20, gonghang.naoc <ghang.naoc at gmail.com> wrote:
> Hi all,
> This may not be a good question posted here, but possibly there should be
> pythoners who work in this field.
> I wonder anybody knows an algorithm for the detection of periodic signals
> in gapped data?
> I searched ADS, but it seems most of the data people deal with are evenly
> Thank you.
> AstroPy mailing list
> AstroPy at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the AstroPy