Plotting ToolsΒΆ

There are several scripts for making diagnostic plots. Some are described here.

  • plot_chi2_hist.py: Make a histogram of the best chi2 values (chi2=1 and the median chi2 are marked). Note that there is no plot of reduced chi2, because it is mathematically difficult to define the number of degrees of freedom. Inputs are the BEAST stats file and optionally the number of bins to use for the histogram.
  • plot_cmd.py: Make a color-magnitude diagram of the observations. Inputs are the photometry file (which can be a simulation) and the three filters.
  • plot_cmd_with_fits.py: Similar to above, but color-coding the data points using one of the parameters from the BEAST fitting. Takes three additional inputs: a BEAST stats file, the parameter to use, and whether to apply color after taking the log10 of the parameter.
  • plot_indiv_fit.py: For a given star, makes a multi-panel plot that shows the PDFs and best fits of each parameter, as well as an SED (similar to Figure 14 in Gordon+16).
  • plot_mag_hist.py: Make histograms of the magnitudes for each band in the photometry catalog.