Exemplo n.º 1
0
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
Exemplo n.º 2
0
def make_f814w_f160w(dpix=0.05, mag_lim=30.):
    lim = Lim(x=(-0.5, 3), y=(24, 17.5))
    plane = ColorPlane(('F814W', 'F160W'),
                       'F160W',
                       lim.x, (min(lim.y), max(lim.y)),
                       mag_lim,
                       suffix='f814f160',
                       x_label=r'$\mathrm{F814W}-\mathrm{F160W}$',
                       y_label=r'$\mathrm{F160W}$',
                       dpix=dpix)
    return plane
Exemplo n.º 3
0
def make_f475w_f110w(dpix=0.05, mag_lim=30.):
    lim = Lim(x=(-0.8, 7.), y=(25., 18.))
    plane = ColorPlane(('F475W', 'F110W'),
                       'F110W',
                       lim.x, (min(lim.y), max(lim.y)),
                       mag_lim,
                       suffix='f475f110',
                       x_label=r'$\mathrm{F475W}-\mathrm{F110W}$',
                       y_label=r'$\mathrm{F110W}$',
                       dpix=dpix)
    return plane
Exemplo n.º 4
0
def make_f814w_f110w(dpix=0.05, mag_lim=30.):
    lim = Lim(x=(-0.1, 1.8), y=(25, 19))
    plane = ColorPlane((PHAT_BANDS.index('F814W'), PHAT_BANDS.index('F110W')),
                       PHAT_BANDS.index('F110W'),
                       lim.x, (min(lim.y), max(lim.y)),
                       mag_lim,
                       suffix='f814f110',
                       x_label=r'$\mathrm{F814W}-\mathrm{F110W}$',
                       y_label=r'$\mathrm{F110W}$',
                       dpix=dpix)
    return plane
Exemplo n.º 5
0
def make_f475w_f160w(dpix=0.05, mag_lim=30.):
    lim = Lim(x=(-0.8, 8.), y=(25., 17.5))
    plane = ColorPlane((PHAT_BANDS.index('F475W'), PHAT_BANDS.index('F160W')),
                       PHAT_BANDS.index('F160W'),
                       lim.x, (min(lim.y), max(lim.y)),
                       mag_lim,
                       suffix='f475f160',
                       x_label=r'$\mathrm{F475W}-\mathrm{F160W}$',
                       y_label=r'$\mathrm{F110W}$',
                       dpix=dpix)
    return plane
Exemplo n.º 6
0
def make_lewis_ms_32(dpix=0.05, mag_lim=34.):
    lim = Lim(x=(-0.5, 1.), y=(32, 21.))
    plane = ColorPlane(('F475W', 'F814W'), 'F475W',
                       lim.x,
                       (min(lim.y), max(lim.y)),
                       mag_lim,
                       suffix='lws30',
                       x_label=r'$\mathrm{F475W}-\mathrm{F814W}$',
                       y_label=r'$\mathrm{F475W}$',
                       dpix=dpix)
    return plane
Exemplo n.º 7
0
def make_lewis_ms(dpix=0.05, mag_lim=30.):
    lim = Lim(x=(-0.5, 1.), y=(26, 21.))
    plane = ColorPlane(('F475W', 'F814W'),
                       'F475W',
                       lim.x, (min(lim.y), max(lim.y)),
                       mag_lim,
                       suffix='lws',
                       x_label=r'$\mathrm{F475W}-\mathrm{F814W}$',
                       y_label=r'$\mathrm{F475W}$',
                       dpix=dpix,
                       d_xticks=0.5,
                       d_yticks=1.)
    return plane
Exemplo n.º 8
0
def make_f475w_f160w_32(dpix=0.05, mag_lim=40.):
    lim = Lim(x=(-0.8, 8.), y=(32., 17.5))
    plane = ColorPlane(('F475W', 'F160W'), 'F160W',
                       lim.x,
                       (min(lim.y), max(lim.y)),
                       mag_lim,
                       suffix='oira32',
                       x_label=r'$\mathrm{F475W}-\mathrm{F160W}$',
                       y_label=r'$\mathrm{F160W}$',
                       dpix=dpix,
                       d_xticks=2.,
                       d_yticks=1.)
    return plane
Exemplo n.º 9
0
def make_f475w_f814w_ms(dpix=0.05, mag_lim=30.):
    lim = Lim(x=(-0.5, 1.), y=(26, 21.))
    plane = ColorPlane(('F475W', 'F814W'),
                       'F814W',
                       lim.x, (min(lim.y), max(lim.y)),
                       mag_lim,
                       suffix='acsms',
                       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
Exemplo n.º 10
0
def make_f475w_f814w_rgb_hack(dpix=0.05, mag_lim=30.):
    lim = Lim(x=(1.2, 5.), y=(23.5, 20.))
    plane = ColorPlane(('F475W', 'F814W'),
                       'F814W',
                       lim.x, (min(lim.y), max(lim.y)),
                       mag_lim,
                       suffix='acsgbh',
                       x_label=r'$\mathrm{F475W}-\mathrm{F814W}$',
                       y_label=r'$\mathrm{F814W}$',
                       dpix=dpix,
                       nx=75)  # NOTE auto-calc failed to compute 75
    # 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
Exemplo n.º 11
0
def make_f475w_f814w(dpix=0.05, mag_lim=30.):
    lim = Lim(x=(-1, 5.), y=(25.5, 20.))
    plane = ColorPlane((PHAT_BANDS.index('F475W'), PHAT_BANDS.index('F814W')),
                       PHAT_BANDS.index('F814W'),
                       lim.x, (min(lim.y), max(lim.y)),
                       mag_lim,
                       suffix='f475f814',
                       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
Exemplo n.º 12
0
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
Exemplo n.º 13
0
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