CONAN._classes.load_rvs.plot#
- CONAN._classes.load_rvs.plot(plot_cols=(0, 1, 2), col_labels=None, nrow_ncols=None, figsize=None, fit_order=0, show_decorr_model=False, detrend=False, phase_plot=0, hspace=None, wspace=None, binsize=0.0, return_fig=False)#
visualize data
- Parameters:
plot_cols (tuple of length 3;) – Tuple specifying which columns in input file to plot. Default is (0,1,2) to plot time, flux with fluxerr. Use (3,1,2) to show the correlation between the 4th column and the flux. if decorrelation has been done with lmfit, the “res” can also be given to plot a column against the residual of the fit.
col_labels (tuple of length 2;) – label of the given columns in plot_cols. Default is (“time”, “rv”).
nrow_ncols (tuple of length 2;) – Number of rows and columns to plot the input files. Default is (None, None) to find the best layout.
fit_order (int;) – order of polynomial to fit to the plotted data columns to visualize correlation.
show_decorr_model (bool;) – show decorrelation model if decorrelation has been done.
detrend (bool;) – plot the detrended data. Default is False. Setting to True also sets show_decorr_model=True
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.
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).
figsize (tuple of length 2;) – Figure size. If None, (8,5) is used for a single input file and optimally determined for more inputs.
return_fig (bool;) – return figure object for saving to file.