- beast.plotting.plot_mag_hist.plot_mag_hist(data_file, stars_per_bin=100, max_bins=75)¶
Make histograms of magnitudes. This only uses the [filter]_VEGA, so sources removed with quality cuts are not included.
path+file for the stellar photometry
- stars_per_binfloat (default=100)
This is the average number of stars per histogram bin. Calculate the number of bins to use for each histogram by dividing the total number of stars by this value (this ensures each histogram is reasonably smooth). The total number of bins is capped at max_bins.
- max_binsint (default=75)
maximum number of bins for each histogram.
dictionary with the peak magnitudes, for possible later use