NOTE plag is superseded by fqlag which has a more stable implementation. Please use that instead.
This is an implementation of the method used in Zoghbi+2013 paper (Astrophysical Journal; 2013. 777. 24Z) to calculate lags in the frequency domain from unevenly-sampled light curves.
- install cython by doing:
pip install cython
-
compile plag
make setup
-
run test to make sure things compiled properly
make test
-
See the following python notebook for usage example.
Please reference http://adsabs.harvard.edu/abs/2013ApJ...777...24Z when using this code.