Plot#
- simppler.plot.plot_phase(model, parameters, planets=None, n_samples=100, inst=None)[source]#
Plot the RV timeseries in a phase-folded plot for each planet
- Parameters:
model (RVModel) – Model whose data and basis will be used
parameter – Parameter values. If an array, must be compatible with
RVModel.forwardor have shape(nparam, nsamples_total)If a dict, will be combined with fixed parameters, but if fixed parameters are specified here they have priority. Can map to parameter values or to arrays of parameter samples.planets (list[int] | None) – List of parameter indices (base 1) to show. Show all planets by default.
n_samples (int) – Number of samples to draw if samples are passed as parameters. Ignored for 1D parameters.
parameters (ndarray | dict[str, float | ndarray])
inst (list[str] | None)
- simppler.plot.plot_rv(model, parameters=None, n_samples=100, residuals=True, remove_sys=True, inst=None)[source]#
Plot the RV timeseries and model
- Parameters:
model (RVModel) – Model whose data and basis will be used
parameter – Parameter values. If an array, must be compatible with
RVModel.forwardor have shape(nparam, nsamples_total)If a dict, will be combined with fixed parameters, but if fixed parameters are specified here they have priority. Can map to parameter values or to arrays of parameter samples.n_samples (int) – Number of samples to draw if samples are passed as parameters. Ignored for 1D parameters.
residuals (bool) – Whether to show a residuals panel.
parameters (ndarray | dict[str, float | ndarray] | None)
remove_sys (bool)
inst (list[str] | None)
- Return type:
tuple[Figure, Axes]