Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[submitted] Python Cross Correlation Code for Reverberation Mapping Studies

This code is meant to emulate a fortran program written by B. Peterson for use with reverberation mapping.
The code cross correlates two light curves that are unevenly sampled using linear interpolation and measures the peak and centroid of the cross-correlation function. In addition, it is possible to run Monteo Carlo iterations using flux randomization and random subset selection (RSS) to produce cross-correlation centroid distributions to estimate the uncertainties in the cross correlation results. The ideas behind the methodology that this code implements are described in detail by Peterson et al. (1998):

Code site:

Views: 197