def make_f475w_f814w(dpix=0.05, mag_lim=30.): lim = Lim(x=(-1, 5.), y=(25.5, 20.)) plane = ColorPlane(('F475W', 'F814W'), 'F814W', lim.x, (min(lim.y), max(lim.y)), mag_lim, suffix='acsall', x_label=r'$\mathrm{F475W}-\mathrm{F814W}$', y_label=r'$\mathrm{F814W}$', dpix=dpix) plane.mask_region((3, 5), (28, 25)) plane.mask_region((3.5, 5), (25, 23)) plane.mask_region((4, 5), (23, 22.5)) return plane
def make_f110w_f160w(dpix=0.05, mag_lim=30.): lim = Lim(x=(0.3, 1.3), y=(24., 16.5)) plane = ColorPlane(('F110W', 'F160W'), 'F160W', lim.x, (min(lim.y), max(lim.y)), mag_lim, suffix='nir', x_label=r'$\mathrm{F110W}-\mathrm{F160W}$', y_label=r'$\mathrm{F160W}$', dpix=dpix) plane.mask_region((-1., 0.), (22., 16)) plane.mask_region((0, 0.3), (22., 16)) plane.mask_region((0.3, 0.7), (20., 16)) plane.mask_region((0.7, 0.8), (19., 16)) plane.mask_region((0.8, 0.9), (18., 16)) plane.mask_region((1.1, 1.5), (28, 21)) return plane