Closed lgbouma closed 7 years ago
Just implemented this functionality in the new checkplot.py (see twolsp_checkplot_png) that breaks out the checkplot stuff into a new module, and refactors the main function into smaller functions like this does.
Makes checkplots like so:
I'll close this pull request without merging it, but thanks for working on this, and getting me to add this stuff.
make_eb_checkplot
: main function to make a variant of checkplot called eb_checkplot.get_periodogram_quantities
: given the output of the period search routine, return a set of quantities (best periods, etc)plot_periodogram
: given appropriate inputs, plot a periodogramplot_phased_wrapper
: plots 3 phased LCs in a row on the 3x3 grid, given the information from the periodicity search (any output from that search -- BLS/SPDM/ANOV -- is compatible).TODO: to minimize code duplication,
get_periodogram_quantities
andplot_periodogram
can be called inmake_checkplot
as well (but I didn't want to change that function!)