create_naive_maps

megabeast.tools.make_naive_maps.create_naive_maps(stats_filename, pix_size=10.0, verbose=False, median=False, chi2mincut=False, weigh_by_av=False)[source]

Make the naive maps by directly averaging the BEAST results for all the stars in each pixel. Does not account for completeness, hence naive maps!

Parameters:
stats_filenamestring or list of strings

name(s) of the catalog(s) of BEAST results

pix_sizefloat (default=10)

size of pixels/regions in arcsec

medianbool (default=False)

calculate the median of the BEAST results (instead of the mean)

chi2mincutint (default=None)

place a chi2min cut on the BEAST results. Gives the max threshold.

weigh_by_avbool (default=False)

weigh R(V) and f_A by A(V) to determinе R(V) and f_A of the total column of dust in a pixel (as opposed to finding a simple average across a pixel)