plot_cmd¶
- beast.plotting.plot_cmd.plot_cmd(fitsfile, mag1_filter='F475W', mag2_filter='F814W', mag3_filter='F475W', savefig=False, show_plot=True)[source]¶
Read in flux from real or simulated data in fitsfile and plot a color-magnitude diagram based on specified filters.
- Parameters:
fitsfile (str) – input fitsfile (includes full path to file); format = .fits
mag1_filter (str (default='F475W')) – 1st color filter
mag2_filter (str (default='F814W')) – 2nd color filter
mag3_filter (str (default='F475W')) – magnitude
savefig (str (default=False)) – to save the figure, set this to the file extension (e.g., ‘png’, ‘pdf’)
show_plot (boolean) – True, show the plot (to screen or a file) False, return the fig