CONAN._classes.load_result._plot_bestfit_rv

CONAN._classes.load_result._plot_bestfit_rv#

CONAN._classes.load_result._plot_bestfit_rv(plot_cols=(0, 1, 2), detrend=False, col_labels=None, phase_plot=0, nrow_ncols=None, figsize=None, hspace=None, wspace=None, binsize=0, return_fig=True)#

Plot the best-fit model of the input data.

Parameters:
  • plot_cols (tuple of length 2 or 3;) – Tuple specifying which columns in input file to plot. Default is (0,1,2) to plot column 0 against 1, and 2 as errorbar (i.e. time against flux with fluxerr). Use (3,1,2) to show the correlation between column 3 and the flux. Using tuple of length 2 does not plot errorbars. e.g (3,1).

  • detrend (bool;) – plot the detrended data. Default is False.

  • col_labels (tuple of length 2;) – label of the given columns in plot_cols. Default is (“time”, “rv”).

  • phase_plot (int;) – plot data in phase. only when decorrelation has been performed and show_decorr_model=True. Default is 0 to not phase fold, 1 to phase on period of planet 1, etc.

  • nrow_ncols (tuple of length 2;) – Number of rows and columns to plot the input files. Default is None to find the best layout.

  • figsize (tuple of length 2;) – Figure size. If None, (8,5) is used for a single input file and optimally determined for more inputs.

  • hspace (float;) – height and width space between subplots. Default is None to use matplotlib defaults.

  • wspace (float;) – height and width space between subplots. Default is None to use matplotlib defaults.

  • binsize (float;) – binsize to use for binning the data in time. Default is 0.0104 (15mins).

  • return_fig (bool;) – return figure object for saving to file.