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:
- fitsfilestr
input fitsfile (includes full path to file); format = .fits
- mag1_filterstr (default=’F475W’)
1st color filter
- mag2_filterstr (default=’F814W’)
2nd color filter
- mag3_filterstr (default=’F475W’)
magnitude
- savefigstr (default=False)
to save the figure, set this to the file extension (e.g., ‘png’, ‘pdf’)
- show_plotboolean
True, show the plot (to screen or a file) False, return the fig