ax.subfigure_label('(a)', pos='lower right')

ax = fig1.add_subplot(gs[0, 1], **axis_args)
reuse_plot1 = calculation_figure(ax, -1, 25e-6, k=kSP, w0=w0, L=L, res=res, normalize=True)
ax.set_xlim(-width * 5e5, width * 5e5)
ax.set_ylim(-width * 5e5, width * 5e5)
ax.subfigure_label('(b)', pos='lower right')

ax = fig1.add_subplot(gs[0, 2], **axis_args)
p = calculation_figure(ax, -3, 25e-6, k=kSP, w0=w0, L=L, res=res)
ax.set_xlim(-width * 5e5, width * 5e5)
ax.set_ylim(-width * 5e5, width * 5e5)
ax.subfigure_label('(c)', pos='lower right')

ax = fig1.add_subplot(gs[1, 0], **axis_args)
p = measurement_figure(ax, '../../data/20100414 l=1 measurements automated', 25)
ax.set_xlim(0, width * 1e6)
ax.set_ylim(28, 28 + width * 1e6)
ax.scale_bar(0.1, 0.05, u'10 µm', 0.5)
ax.subfigure_label('(d)', pos='lower right')

ax = fig1.add_subplot(gs[1, 1], **axis_args)
reuse_plot2 = measurement_figure(ax, '../../data/20100419 l=-1 measurements', 25)
ax.set_xlim(0, width * 1e6)
ax.set_ylim(28, 28 + width * 1e6)
ax.subfigure_label('(e)', pos='lower right')

ax = fig1.add_subplot(gs[1, 2], **axis_args)
p = measurement_figure(ax, '../../data/20100420 l=-3 measurements', 25)
ax.set_xlim(0, width * 1e6)
ax.set_ylim(31, 31 + width * 1e6)
예제 #2
0
eps1 = epsilons.epsilon_Au(wl)
k0 = 2 * N.pi / wl
kSP = k0 * N.sqrt(eps1 * eps2 / (eps1 + eps2))

gs = gridspec.GridSpec(1, 6, width_ratios=[1, 1, 1, 1, 1, 0.05])
fig = P.figure(figsize=(plot_config.pagewidth, 1.21))

axis_args = {'aspect': 'equal', 'xticks': [], 'yticks': []}

ax = fig.add_subplot(gs[0], **axis_args)
reflection = misc.imread('../../data/20100429 l=3.5 plate/far field.png')[150:350, 115:315]
ax.imshow(reflection, origin='upper')
ax.subfigure_label('(a)', pos='lower_right')

ax = fig.add_subplot(gs[1], **axis_args)
p = measurement_figure(ax, '../../data/20100429 l=3.5 plate', 25)
ax.set_xlim(0, width * 1e6)
ax.set_ylim(33, 33 + width * 1e6)
ax.scale_bar(0.1, 0.05, u'10 µm', 0.5)
ax.subfigure_label('(b)', pos='lower right')

ax = fig.add_subplot(gs[2], **axis_args)
p = measurement_figure(ax, '../../data/20100429 l=3.5 plate', 75)
ax.set_xlim(0, width * 1e6)
ax.set_ylim(33, 33 + width * 1e6)
ax.scale_bar(0.1, 0.05, u'10 µm', 0.5)
ax.subfigure_label('(c)', pos='lower right')

width = 26e-6

ax = fig.add_subplot(gs[3], **axis_args)
예제 #3
0
k0 = 2 * N.pi / wl
kSP = k0 * N.sqrt(eps1 * eps2 / (eps1 + eps2))

gs = gridspec.GridSpec(1, 6, width_ratios=[1, 1, 1, 1, 1, 0.05])
fig = P.figure(figsize=(plot_config.pagewidth, 1.21))

axis_args = {'aspect': 'equal', 'xticks': [], 'yticks': []}

ax = fig.add_subplot(gs[0], **axis_args)
reflection = misc.imread('../../data/20100429 l=3.5 plate/far field.png')[
    150:350, 115:315]
ax.imshow(reflection, origin='upper')
ax.subfigure_label('(a)', pos='lower_right')

ax = fig.add_subplot(gs[1], **axis_args)
p = measurement_figure(ax, '../../data/20100429 l=3.5 plate', 25)
ax.set_xlim(0, width * 1e6)
ax.set_ylim(33, 33 + width * 1e6)
ax.scale_bar(0.1, 0.05, u'10 µm', 0.5)
ax.subfigure_label('(b)', pos='lower right')

ax = fig.add_subplot(gs[2], **axis_args)
p = measurement_figure(ax, '../../data/20100429 l=3.5 plate', 75)
ax.set_xlim(0, width * 1e6)
ax.set_ylim(33, 33 + width * 1e6)
ax.scale_bar(0.1, 0.05, u'10 µm', 0.5)
ax.subfigure_label('(c)', pos='lower right')

width = 26e-6

ax = fig.add_subplot(gs[3], **axis_args)
예제 #4
0
                                 w0=w0,
                                 L=L,
                                 res=res,
                                 normalize=True)
ax.set_xlim(-width * 5e5, width * 5e5)
ax.set_ylim(-width * 5e5, width * 5e5)
ax.subfigure_label('(b)', pos='lower right')

ax = fig1.add_subplot(gs[0, 2], **axis_args)
p = calculation_figure(ax, -3, 25e-6, k=kSP, w0=w0, L=L, res=res)
ax.set_xlim(-width * 5e5, width * 5e5)
ax.set_ylim(-width * 5e5, width * 5e5)
ax.subfigure_label('(c)', pos='lower right')

ax = fig1.add_subplot(gs[1, 0], **axis_args)
p = measurement_figure(ax, '../../data/20100414 l=1 measurements automated',
                       25)
ax.set_xlim(0, width * 1e6)
ax.set_ylim(28, 28 + width * 1e6)
ax.scale_bar(0.1, 0.05, u'10 µm', 0.5)
ax.subfigure_label('(d)', pos='lower right')

ax = fig1.add_subplot(gs[1, 1], **axis_args)
reuse_plot2 = measurement_figure(ax, '../../data/20100419 l=-1 measurements',
                                 25)
ax.set_xlim(0, width * 1e6)
ax.set_ylim(28, 28 + width * 1e6)
ax.subfigure_label('(e)', pos='lower right')

ax = fig1.add_subplot(gs[1, 2], **axis_args)
p = measurement_figure(ax, '../../data/20100420 l=-3 measurements', 25)
ax.set_xlim(0, width * 1e6)