plot_rate_fit#

View page source

Plot The Rates for a Fit#

Syntax#

plot_set = plot_rate_fit (
      database , pdf_file , plot_title , rate_set
)

database#

This str is the file name for an existing dismod_at database that contains the results of a fit . If there is a sample_table it is assumed it was created using a sample_command after the fit_command .

pdf_file#

Is the location where the pdf file containing the plot will be placed.

plot_title#

This str is a title printed at the top of every plot.

rate_set#

Each element of this set an str containing a rate_name that we are plotting the fit for.

plot_set#

Each element of this set is a str containing the name of a rate (in rate_set ) that was plotted. If a rate was not plotted, it is constrained to be zero by the rate table.

Example#

user_plot_rate_fit.py .