Astrophysics Source Code Library

Making codes discoverable since 1999

Searching for codes credited to 'Sun, Mouyuan'

Tip! Refine or expand your search. Authors are sometimes listed as 'Smith, J. K.' instead of 'Smith, John' so it is useful to search for last names only. Note this is currently a simple phrase search.

[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):